Skip to content

zeta1999/GPUifyLoops.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPUifyLoops.jl

Support for writing loop-based code that executes both on CPU and GPU

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

License

GPUifyLoops.jl is licensed under MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%