Skip to content

Commit

Permalink
dgemmjit looks identical to regular MKL, suggesting (a) the JIT isn't…
Browse files Browse the repository at this point in the history
… working (compiler warnings about ignored preprocessor directives reinforce this), and (b) a way to benchmark both OpenBLAS and MKL.
  • Loading branch information
chriselrod committed Mar 4, 2020
1 parent 21cb787 commit 977528d
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 16 deletions.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_AmulB_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_AmulBt_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_AplusAt_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_AtmulB_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_AtmulBt_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_aplusBc_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_dot3_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_dot_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_exp_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_logdettriangle_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_random_access_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_selfdot_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/src/assets/bench_sse_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/LoopVectorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using VectorizationBase: REGISTER_SIZE, REGISTER_COUNT, extract_data, num_vector
PackedStridedPointer, SparseStridedPointer, RowMajorStridedPointer, StaticStridedPointer, StaticStridedStruct
using SIMDPirates: VECTOR_SYMBOLS, evadd, evmul, vrange, reduced_add, reduced_prod, reduce_to_add, reduce_to_prod,
sizeequivalentfloat, sizeequivalentint, vadd!, vsub!, vmul!, vfdiv!, vfmadd!, vfnmadd!, vfmsub!, vfnmsub!,
vfmadd231, vfmsub231, vfnmadd231, vfnmsub231,
vfmadd231, vfmsub231, vfnmadd231, vfnmsub231, #prefetch,
vmullog2, vmullog10, vdivlog2, vdivlog10, vmullog2add!, vmullog10add!, vdivlog2add!, vdivlog10add!, vfmaddaddone
using Base.Broadcast: Broadcasted, DefaultArrayStyle
using LinearAlgebra: Adjoint, Transpose
Expand Down
4 changes: 2 additions & 2 deletions src/costs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ const COST = Dict{Instruction,InstructionCost}(
Instruction(:sincospi_fast) => InstructionCost(25,22.0,70.0,26),
Instruction(:identity) => InstructionCost(0,0.0,0.0,0),
Instruction(:adjoint) => InstructionCost(0,0.0,0.0,0),
Instruction(:transpose) => InstructionCost(0,0.0,0.0,0)
# Symbol("##CONSTANT##") => InstructionCost(0,0.0)
Instruction(:transpose) => InstructionCost(0,0.0,0.0,0),
Instruction(:prefetch) => InstructionCost(0,0.0,0.0,0)
)

# const KNOWNINSTRUCTIONS = keys(COST)
Expand Down

0 comments on commit 977528d

Please sign in to comment.