Skip to content

Commit

Permalink
Use 0.0f0 since oneAPI doesn't support Float64 values
Browse files Browse the repository at this point in the history
  • Loading branch information
rkierulf committed Jul 30, 2024
1 parent a6960af commit d8c5875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KomaMRICore/ext/KomaoneAPIExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end
@kernel function naive_cumsum!(B, @Const(A))
i = @index(Global)

cur_val = 0.0
cur_val = 0.0f0
for k 1:size(A, 2)
@inbounds cur_val += A[i, k]
@inbounds B[i, k] = cur_val
Expand Down

0 comments on commit d8c5875

Please sign in to comment.