Available on
target_arch="nvptx64"
only.Expand description
NVPTX intrinsics (experimental)
These intrinsics form the foundation of the CUDA programming model.
The reference is the CUDA C Programming Guide. Relevant is also the LLVM NVPTX Backend documentation.
Re-exportsยง
pub use packed::*;
Modulesยง
- packed ๐
- NVPTX Packed data types (SIMD)
Functionsยง
- __
assertfail ๐ โ - block_
dim_ ๐ โx - block_
dim_ ๐ โy - block_
dim_ ๐ โz - block_
idx_ ๐ โx - block_
idx_ ๐ โy - block_
idx_ ๐ โz - grid_
dim_ ๐ โx - grid_
dim_ ๐ โy - grid_
dim_ ๐ โz - syncthreads ๐ โ
- thread_
idx_ ๐ โx - thread_
idx_ ๐ โy - thread_
idx_ ๐ โz - __
assert_ โfail Experimental - Syscall to be used whenever the assert expression produces a
false
value. - _block_
dim_ โx Experimental - x-th thread-block dimension.
- _block_
dim_ โy Experimental - y-th thread-block dimension.
- _block_
dim_ โz Experimental - z-th thread-block dimension.
- _block_
idx_ โx Experimental - x-th thread-block index.
- _block_
idx_ โy Experimental - y-th thread-block index.
- _block_
idx_ โz Experimental - z-th thread-block index.
- _grid_
dim_ โx Experimental - x-th block-grid dimension.
- _grid_
dim_ โy Experimental - y-th block-grid dimension.
- _grid_
dim_ โz Experimental - z-th block-grid dimension.
- _syncthreadsโ
Experimental - Synchronizes all threads in the block.
- _thread_
idx_ โx Experimental - x-th thread index.
- _thread_
idx_ โy Experimental - y-th thread index.
- _thread_
idx_ โz Experimental - z-th thread index.
- freeโ
Experimental - Free previously dynamically allocated memory.
- mallocโ
Experimental - Allocate memory dynamically from a fixed-size heap in global memory.
- trapโ
Experimental - Generates the trap instruction
TRAP
- vprintfโ
Experimental - Print formatted output from a kernel to a host-side output stream.