🔬This is a nightly-only experimental API. (
stdarch_nvptx
#111199)Available on
target_arch="nvptx64"
only.Expand description
Platform-specific intrinsics for the NVPTX
platform.
See the module documentation for more details.
Structs§
- f16x2
Experimental - PTX-specific 32-bit wide floating point (f16 x 2) vector type
Functions§
- __
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.
- f16x2_
add ⚠Experimental - Add two values, round to nearest even
- f16x2_
fma ⚠Experimental - Fused multiply-add, round to nearest even
- f16x2_
max ⚠Experimental - Find the maximum of two values
- f16x2_
max_ ⚠nan Experimental - Find the maximum of two values, NaNs pass through.
- f16x2_
min ⚠Experimental - Find the minimum of two values
- f16x2_
min_ ⚠nan Experimental - Find the minimum of two values, NaNs pass through.
- f16x2_
mul ⚠Experimental - Multiply two values, round to nearest even
- f16x2_
neg ⚠Experimental - Arithmetic negate
- f16x2_
sub ⚠Experimental - Subtract two values, round to nearest even
- 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.