cuda.bindings._v2.driver.LaunchParam#
- class cuda.bindings._v2.driver.LaunchParam(value: int)#
Markers in the extra array of launch_kernel (CU_LAUNCH_PARAM_*).
- END: 0
End of array terminator for the extra parameter to cuLaunchKernel
- BUFFER_POINTER: 1
Indicator that the next value in the extra parameter to cuLaunchKernel will be a pointer to a buffer containing all kernel parameters used for launching kernel f. This buffer needs to honor all alignment/padding requirements of the individual parameters. If CU_LAUNCH_PARAM_BUFFER_SIZE is not also specified in the extra array, then CU_LAUNCH_PARAM_BUFFER_POINTER will have no effect.
- BUFFER_SIZE: 2
Indicator that the next value in the extra parameter to cuLaunchKernel will be a pointer to a size_t which contains the size of the buffer specified with CU_LAUNCH_PARAM_BUFFER_POINTER. It is required that CU_LAUNCH_PARAM_BUFFER_POINTER also be specified in the extra array if the value associated with CU_LAUNCH_PARAM_BUFFER_SIZE is not zero.