Common utilities shared between the various Julia GPU backends.
| Build Status | Coverage |
|---|---|
This package currently exports the following:
SimpleVersion: a GPU-compatible version number@sv_str: constructs a SimpleVersion from a string@checked: Add to a function definition to generate an unchecked and a checked version.@debug_ccall: likeccallbut prints the ccall, its arguments, and its return value@gcsafe_ccall: like@ccallbut marking it safe for the GC to run.cooperative_wait: wait for a GPU operation without blocking the calling thread, so that other tasks can run.- Suffix literals like
1i8(i8,i16,i32,u8,u16,u32) for constructing literals of a certain type.
It also provides GPUToolbox.Overlays, method tables with device overrides of Base
functionality that GPU back-ends can share by stacking them underneath their own method
table, and the tools back-ends use to define device-only functions and to check that no
device code leaks into code compiled for the host. See the module's docstring for the
design and how to use it.
For more details on a specific symbol, check out its docstring in the Julia REPL.