diff --git a/spmv/spmv_finch.jl b/spmv/spmv_finch.jl index a1d9d9fd..ea82ffe0 100644 --- a/spmv/spmv_finch.jl +++ b/spmv/spmv_finch.jl @@ -85,7 +85,7 @@ function spmv_finch(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseList(Element(0.0))), A) _d = Tensor(Dense(Element(0.0))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 _d .= 0 for j = _, i = _ @@ -104,4 +104,4 @@ function spmv_finch(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_kernel($_y, $_A, $_x, $_d) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_band.jl b/spmv/spmv_finch_band.jl index 2ff4fc64..6ae066f7 100644 --- a/spmv/spmv_finch_band.jl +++ b/spmv/spmv_finch_band.jl @@ -73,7 +73,7 @@ function spmv_finch_band(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseBand(Element(0.0))), A) _d = Tensor(Dense(Element(0.0))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 _d .= 0 for j = _, i = _ @@ -92,4 +92,4 @@ function spmv_finch_band(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_band_kernel($_y, $_A, $_x, $_d) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_band_unsym_row_maj.jl b/spmv/spmv_finch_band_unsym_row_maj.jl index c4aa39ab..8c45b98a 100644 --- a/spmv/spmv_finch_band_unsym_row_maj.jl +++ b/spmv/spmv_finch_band_unsym_row_maj.jl @@ -57,7 +57,7 @@ end function spmv_finch_band_unsym_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseBand(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] diff --git a/spmv/spmv_finch_blocked.jl b/spmv/spmv_finch_blocked.jl index d626326d..1020d4ef 100644 --- a/spmv/spmv_finch_blocked.jl +++ b/spmv/spmv_finch_blocked.jl @@ -184,7 +184,7 @@ function spmv_finch_blocked(y, A, x) b = 10 (n, m) = size(A) _block_A = Tensor(Dense(SparseHash{1}(Dense(Dense(Element(0.0))))), b, b, fld1(n, b), fld1(m, b)) - @finch mode=fastfinch begin + @finch mode=:fast begin _block_A .= 0 for j = _ for i = _ @@ -197,7 +197,7 @@ function spmv_finch_blocked(y, A, x) @info "blocked inflation" countstored(block_A) / countstored(_A) block_x = Tensor(Dense(Dense(Element(0.0))), b, fld1(n, b)) - @finch mode=fastfinch begin + @finch mode=:fast begin block_x .= 0 for j = _ block_x[mod1(j, b), fld1(j, b)] = x[j] @@ -208,7 +208,7 @@ function spmv_finch_blocked(y, A, x) block_y = Tensor(Dense(Dense(Element(0.0))), b, fld1(n, b)) time = @belapsed spmv_finch_blocked_helper($block_y, $block_A, $block_x, $b) y = Tensor(Dense(Element(0.0)), n) - @finch mode=fastfinch begin + @finch mode=:fast begin y .= 0 for I = _, i = _ let _i = (I - 1) * 10 + i @@ -218,4 +218,4 @@ function spmv_finch_blocked(y, A, x) end return (;time = time, y = y) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_int8.jl b/spmv/spmv_finch_int8.jl index ca797a72..aa2f4be2 100644 --- a/spmv/spmv_finch_int8.jl +++ b/spmv/spmv_finch_int8.jl @@ -85,7 +85,7 @@ function spmv_finch_int8(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseList(Element(Int8(0)))), A) _d = Tensor(Dense(Element(Int8(0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= Int8(0) _d .= Int8(0) for j = _, i = _ @@ -104,4 +104,4 @@ function spmv_finch_int8(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_int8_kernel($_y, $_A, $_x, $_d) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_pattern.jl b/spmv/spmv_finch_pattern.jl index 23ccce24..faa066dd 100644 --- a/spmv/spmv_finch_pattern.jl +++ b/spmv/spmv_finch_pattern.jl @@ -77,7 +77,7 @@ function spmv_finch_pattern(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseList(Element(0.0)))) _d = Tensor(Dense(Element(0.0))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 _d .= 0 for j = _, i = _ @@ -99,4 +99,4 @@ function spmv_finch_pattern(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_pattern_kernel($_y, $A_pattern, $_x, $d_pattern) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_pattern_unsym_row_maj.jl b/spmv/spmv_finch_pattern_unsym_row_maj.jl index 6f254970..9694facd 100644 --- a/spmv/spmv_finch_pattern_unsym_row_maj.jl +++ b/spmv/spmv_finch_pattern_unsym_row_maj.jl @@ -64,7 +64,7 @@ end function spmv_finch_pattern_unsym_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseList(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] @@ -78,4 +78,4 @@ function spmv_finch_pattern_unsym_row_maj(y, A, x) y = Ref{Any}() time = @belapsed $y[] = spmv_finch_pattern_kernel_row_maj($_y, $A_pattern, $_x) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_point_pattern_row_maj.jl b/spmv/spmv_finch_point_pattern_row_maj.jl index 586984c0..b379f620 100644 --- a/spmv/spmv_finch_point_pattern_row_maj.jl +++ b/spmv/spmv_finch_point_pattern_row_maj.jl @@ -49,7 +49,7 @@ end function spmv_finch_point_pattern_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparsePoint(Element(0.0))), A) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] @@ -61,4 +61,4 @@ function spmv_finch_point_pattern_row_maj(y, A, x) y = Ref{Any}() time = @belapsed $y[] = spmv_finch_point_pattern_kernel_row_maj($_y, $A_pattern, $_x) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_point_row_maj.jl b/spmv/spmv_finch_point_row_maj.jl index 16761813..e78bfe0c 100644 --- a/spmv/spmv_finch_point_row_maj.jl +++ b/spmv/spmv_finch_point_row_maj.jl @@ -51,7 +51,7 @@ end function spmv_finch_point_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparsePoint(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] diff --git a/spmv/spmv_finch_unsym_row_maj.jl b/spmv/spmv_finch_unsym_row_maj.jl index 069b6338..98346f59 100644 --- a/spmv/spmv_finch_unsym_row_maj.jl +++ b/spmv/spmv_finch_unsym_row_maj.jl @@ -67,7 +67,7 @@ end function spmv_finch_unsym_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseList(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] @@ -78,4 +78,4 @@ function spmv_finch_unsym_row_maj(y, A, x) y = Ref{Any}() time = @belapsed $y[] = spmv_finch_kernel_row_maj($_y, $_A, $_x) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_vbl.jl b/spmv/spmv_finch_vbl.jl index c821fd3a..da2820b2 100644 --- a/spmv/spmv_finch_vbl.jl +++ b/spmv/spmv_finch_vbl.jl @@ -104,7 +104,7 @@ function spmv_finch_vbl(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseVBLLevel(Element(0.0))), A) _d = Tensor(Dense(Element(0.0))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 _d .= 0 for j = _, i = _ @@ -123,4 +123,4 @@ function spmv_finch_vbl(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_vbl_kernel($_y, $_A, $_x, $_d) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_vbl_int8.jl b/spmv/spmv_finch_vbl_int8.jl index c39481c8..020d6f67 100644 --- a/spmv/spmv_finch_vbl_int8.jl +++ b/spmv/spmv_finch_vbl_int8.jl @@ -104,7 +104,7 @@ function spmv_finch_vbl_int8(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseVBLLevel(Element(Int8(0)))), A) _d = Tensor(Dense(Element(Int8(0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= Int8(0) _d .= Int8(0) for j = _, i = _ @@ -123,4 +123,4 @@ function spmv_finch_vbl_int8(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_vbl_kernel($_y, $_A, $_x, $_d) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_vbl_pattern.jl b/spmv/spmv_finch_vbl_pattern.jl index d916c966..0297fae9 100644 --- a/spmv/spmv_finch_vbl_pattern.jl +++ b/spmv/spmv_finch_vbl_pattern.jl @@ -95,7 +95,7 @@ function spmv_finch_vbl_pattern(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseVBLLevel(Element(0.0))), A) _d = Tensor(Dense(Element(0.0))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 _d .= 0 for j = _, i = _ @@ -116,4 +116,4 @@ function spmv_finch_vbl_pattern(y, A, x) y = Ref{Any}() time = @belapsed $y[] = ssymv_finch_vbl_pattern_kernel($_y, $A_pattern, $_x, $d_pattern) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_finch_vbl_unsym_row_maj.jl b/spmv/spmv_finch_vbl_unsym_row_maj.jl index 6b1ac997..839d7d48 100644 --- a/spmv/spmv_finch_vbl_unsym_row_maj.jl +++ b/spmv/spmv_finch_vbl_unsym_row_maj.jl @@ -86,7 +86,7 @@ end function spmv_finch_vbl_unsym_row_maj(y, A, x) _y = Tensor(Dense(Element(0.0)), y) _A = Tensor(Dense(SparseVBLLevel(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin _A .= 0 for j=_, i=_ _A[i, j] = A[j, i] @@ -97,4 +97,4 @@ function spmv_finch_vbl_unsym_row_maj(y, A, x) y = Ref{Any}() time = @belapsed $y[] = spmv_finch_vbl_kernel($_y, $_A, $_x) return (;time = time, y = y[]) -end \ No newline at end of file +end diff --git a/spmv/spmv_kernels.jl b/spmv/spmv_kernels.jl index 0d620b8b..d5eafd78 100644 --- a/spmv/spmv_kernels.jl +++ b/spmv/spmv_kernels.jl @@ -18,7 +18,7 @@ block_x = Tensor(Dense(Dense(Element(0.0)))) block_y = Tensor(Dense(Dense(Element(0.0)))) # 0.92x slowdown -println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_kernel_helper(y, A, x, y_j) y .= 0 for j = _ let x_j = x[j] @@ -39,7 +39,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, end) # 0.90x slowdown -println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_kernel_helper(y, A, x, y_j) y .= 0 for j = _ let x_j = x[j] @@ -62,7 +62,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, end) # 1.30x speedup -println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, diag, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_kernel_helper(y, A, x, diag, y_j) y .= 0 for j = _ let x_j = x[j] @@ -79,7 +79,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_kernel_helper(y, A, x, return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_int8_kernel_helper(y, A_int8, x, diag_int8, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_int8_kernel_helper(y, A_int8, x, diag_int8, y_j) y .= 0 for j = _ let x_j = x[j] @@ -96,7 +96,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_int8_kernel_helper(y, return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_pattern_kernel_helper(y, A_pattern, x, diag_pattern, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_pattern_kernel_helper(y, A_pattern, x, diag_pattern, y_j) y .= 0 for j = _ let x_j = x[j] @@ -113,7 +113,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_pattern_kernel_helper( return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_pattern_kernel_helper(y, A_pattern, x) +println(@finch_kernel mode=:fast function spmv_finch_pattern_kernel_helper(y, A_pattern, x) y .= 0 for j = _, i = _ y[i] += A_pattern[i, j] * x[j] @@ -121,7 +121,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_pattern_kernel_helper(y return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_pattern_kernel_helper_row_maj(y, A_pattern, x) +println(@finch_kernel mode=:fast function spmv_finch_pattern_kernel_helper_row_maj(y, A_pattern, x) y .= 0 for j = _, i = _ y[j] += A_pattern[i, j] * x[i] @@ -129,7 +129,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_pattern_kernel_helper_r return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_parallel_kernel_helper(y, A, x, diag, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_parallel_kernel_helper(y, A, x, diag, y_j) y .= 0 for j = parallel(_) let x_j = x[j] @@ -146,7 +146,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_parallel_kernel_helper return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_kernel_helper(y, A, x) +println(@finch_kernel mode=:fast function spmv_finch_kernel_helper(y, A, x) y .= 0 for j = _, i = _ y[i] += A[i, j] * x[j] @@ -154,7 +154,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_kernel_helper(y, A, x) return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_kernel_helper_row_maj(y, A, x) +println(@finch_kernel mode=:fast function spmv_finch_kernel_helper_row_maj(y, A, x) y .= 0 for j = _, i = _ y[j] += A[i, j] * x[i] @@ -162,7 +162,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_kernel_helper_row_maj(y return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_kernel_helper(y, A_vbl, x, diag, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_vbl_kernel_helper(y, A_vbl, x, diag, y_j) y .= 0 for j = _ let x_j = x[j] @@ -179,7 +179,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_kernel_helper(y, A return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_int8_kernel_helper(y, A_vbl_int8, x, diag_int8, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_vbl_int8_kernel_helper(y, A_vbl_int8, x, diag_int8, y_j) y .= 0 for j = _ let x_j = x[j] @@ -196,7 +196,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_int8_kernel_helper return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_pattern_kernel_helper(y, A_vbl_pattern, x, diag_pattern, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_vbl_pattern_kernel_helper(y, A_vbl_pattern, x, diag_pattern, y_j) y .= 0 for j = _ let x_j = x[j] @@ -213,7 +213,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_vbl_pattern_kernel_hel return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_vbl_kernel_helper(y, A_vbl, x) +println(@finch_kernel mode=:fast function spmv_finch_vbl_kernel_helper(y, A_vbl, x) y .= 0 for j = _, i = _ y[i] += A_vbl[i, j] * x[j] @@ -221,7 +221,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_vbl_kernel_helper(y, A_ return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_vbl_kernel_helper_row_maj(y, A_vbl, x) +println(@finch_kernel mode=:fast function spmv_finch_vbl_kernel_helper_row_maj(y, A_vbl, x) y .= 0 for j = _, i = _ y[j] += A_vbl[i, j] * x[i] @@ -229,7 +229,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_vbl_kernel_helper_row_m return y end) -println(@finch_kernel mode=fastfinch function ssymv_finch_band_kernel_helper(y, A_band, x, diag, y_j) +println(@finch_kernel mode=:fast function ssymv_finch_band_kernel_helper(y, A_band, x, diag, y_j) y .= 0 for j = _ let x_j = x[j] @@ -246,7 +246,7 @@ println(@finch_kernel mode=fastfinch function ssymv_finch_band_kernel_helper(y, return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_band_kernel_helper(y, A_band, x) +println(@finch_kernel mode=:fast function spmv_finch_band_kernel_helper(y, A_band, x) y .= 0 for j = _, i = _ y[i] += A_band[i, j] * x[j] @@ -254,7 +254,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_band_kernel_helper(y, A return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_band_kernel_helper_row_maj(y, A_band, x) +println(@finch_kernel mode=:fast function spmv_finch_band_kernel_helper_row_maj(y, A_band, x) y .= 0 for j = _, i = _ y[j] += A_band[i, j] * x[i] @@ -262,7 +262,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_band_kernel_helper_row_ return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_point_kernel_helper(y, A_point, x) +println(@finch_kernel mode=:fast function spmv_finch_point_kernel_helper(y, A_point, x) y .= 0 for j = _, i = _ y[i] += A_point[i, j] * x[j] @@ -270,7 +270,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_point_kernel_helper(y, return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_point_kernel_helper_row_maj(y, A_point, x) +println(@finch_kernel mode=:fast function spmv_finch_point_kernel_helper_row_maj(y, A_point, x) y .= 0 for j = _, i = _ y[j] += A_point[i, j] * x[i] @@ -278,7 +278,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_point_kernel_helper_row return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_point_pattern_kernel_helper(y, A_point_pattern, x) +println(@finch_kernel mode=:fast function spmv_finch_point_pattern_kernel_helper(y, A_point_pattern, x) y .= 0 for j = _, i = _ y[i] += A_point_pattern[i, j] * x[j] @@ -286,7 +286,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_point_pattern_kernel_he return y end) -println(@finch_kernel mode=fastfinch function spmv_finch_point_pattern_kernel_helper_row_maj(y, A_point_pattern, x) +println(@finch_kernel mode=:fast function spmv_finch_point_pattern_kernel_helper_row_maj(y, A_point_pattern, x) y .= 0 for j = _, i = _ y[j] += A_point_pattern[i, j] * x[i] @@ -294,7 +294,7 @@ println(@finch_kernel mode=fastfinch function spmv_finch_point_pattern_kernel_he return y end) -print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_8x8(y, block_A, block_x) +print(@finch_kernel mode=:fast function blocked_spmv_kernel_8x8(y, block_A, block_x) y .= 0 for J = _ for I = _ @@ -309,7 +309,7 @@ print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_8x8(y, block_A, end end) -print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_10x10(y, block_A, block_x) +print(@finch_kernel mode=:fast function blocked_spmv_kernel_10x10(y, block_A, block_x) y .= 0 for J = _ for I = _ @@ -324,7 +324,7 @@ print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_10x10(y, block_A end end) -print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_10x10(block_y, block_A, block_x) +print(@finch_kernel mode=:fast function blocked_spmv_kernel_10x10(block_y, block_A, block_x) block_y .= 0 for J = _ for I = _ @@ -335,4 +335,4 @@ print(@finch_kernel mode=fastfinch function blocked_spmv_kernel_10x10(block_y, b end end end -end) \ No newline at end of file +end) diff --git a/spmv/spmv_taco_row_maj.jl b/spmv/spmv_taco_row_maj.jl index 1e533b90..158b5feb 100644 --- a/spmv/spmv_taco_row_maj.jl +++ b/spmv/spmv_taco_row_maj.jl @@ -7,7 +7,7 @@ function spmv_taco_helper_row_maj(args, A, x) x_path = joinpath(tmpdir, "x.ttx") y_path = joinpath(tmpdir, "y.ttx") A_T = Tensor(Dense(SparseList(Element(0.0)))) - @finch mode=fastfinch begin + @finch mode=:fast begin A_T .= 0 for j=_, i=_ A_T[i, j] = A[j, i]