Skip to content

Commit

Permalink
Merge pull request #50 from MagneticParticleImaging/nh/gpuFix
Browse files Browse the repository at this point in the history
Fix GPU Extension dependencies
  • Loading branch information
nHackel authored Jan 14, 2025
2 parents 2af12c8 + 3081e07 commit 697b61c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
[compat]
AbstractImageReconstruction = "0.3"
Adapt = "3, 4"
Atomix = "0.1"
Atomix = "1"
DSP = "0.6, 0.7"
Distributed = "1"
DistributedArrays = "0.6"
FFTW = "1.3"
GPUArrays = "8, 9, 10"
GPUArrays = "8, 9, 10, 11"
ImageUtils = "0.2"
IniFile = "0.5"
JLArrays = "0.1"
Expand Down
4 changes: 2 additions & 2 deletions ext/MPIRecoKernelAbstractionsExt/MultiPatch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ end
@unroll for i = localIdx:grid_stride:N
tmp = sign * conj(S[patch_row, xss[i, patch], smIdx]) * val
# @atomic is not supported for ComplexF32 numbers
Atomix.@atomic res[1, xcc[i, patch]] += tmp.re
Atomix.@atomic res[2, xcc[i, patch]] += tmp.im
Atomix.@atomic res[1, xcc[i, patch]] += real(tmp)
Atomix.@atomic res[2, xcc[i, patch]] += imag(tmp)
end
end

Expand Down

0 comments on commit 697b61c

Please sign in to comment.