Module nvptx
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.
Modules
- packed NVPTX Packed data types (SIMD)
Functions
-
__assert_fail
Syscall to be used whenever the assert expression produces a
falsevalue. - __assertfail
- _block_dim_x x-th thread-block dimension.
- _block_dim_y y-th thread-block dimension.
- _block_dim_z z-th thread-block dimension.
- _block_idx_x x-th thread-block index.
- _block_idx_y y-th thread-block index.
- _block_idx_z z-th thread-block index.
- _grid_dim_x x-th block-grid dimension.
- _grid_dim_y y-th block-grid dimension.
- _grid_dim_z z-th block-grid dimension.
- _syncthreads Synchronizes all threads in the block.
- _thread_idx_x x-th thread index.
- _thread_idx_y y-th thread index.
- _thread_idx_z z-th thread index.
- block_dim_x
- block_dim_y
- block_dim_z
- block_idx_x
- block_idx_y
- block_idx_z
- free Free previously dynamically allocated memory.
- grid_dim_x
- grid_dim_y
- grid_dim_z
- malloc Allocate memory dynamically from a fixed-size heap in global memory.
- syncthreads
- thread_idx_x
- thread_idx_y
- thread_idx_z
-
trap
Generates the trap instruction
TRAP - vprintf Print formatted output from a kernel to a host-side output stream.