Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPUToolbox.jl

Common utilities shared between the various Julia GPU backends.

Build Status Coverage
PkgEval

Functionality

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: like ccall but prints the ccall, its arguments, and its return value
  • @gcsafe_ccall: like @ccall but marking it safe for the GC to 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. 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.

About

Common utilities shared between the various Julia GPU backends.

Resources

Stars

2 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages