Module nvptx

Source
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.