You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2020. It is now read-only.
Support for writing loop-based code that executes both on CPU and GPU
End of Life
GPUifyLoops.jl is no longer under development and has been replaced by KernelAbstractions.jl.
Installation
GPUifyLoops is a registered package, and can be installed using the Julia package
manager.
julia>]
(v1.1) pkg> add GPUifyLoops
Note: The current version of this package requires Julia 1.1.
Debugging
Debugging failures to transforma a function for the GPU requires the use of Cthulhu.jl.
using Cthulhu
using GPUifyLoops
# @launch CUDA() f(args...)
descend(GPUifyLoops.signature(f, args...)...)
Development
In order to test this package locally you need to do:
julia --project=test/gpuenv
julia> ]
(gpuenv) pkg> resolve
(gpuenv) pkg> instantiate
This will resolve the GPU environment, please do not checking changes to test/gpuenv/.
Then you can run the tests with julia --project=test/gpuenv test/runtests.jl