Functions | |
SanitizerResult SANITIZERAPI | sanitizerGetCudaBarrierCount (CUfunction kernel, uint32_t *numBarriers) |
Get number of CUDA barriers used by a function. |
SanitizerResult SANITIZERAPI sanitizerGetCudaBarrierCount | ( | CUfunction | kernel, | |
uint32_t * | numBarriers | |||
) |
The module where kernel
resides must have been instrumented using sanitizerPatchModule prior to calling this function. This function is only available for modules built with nvcc 11.2 or newer, it will return 0 otherwise.
[in] | kernel | CUDA function |
[out] | numBarriers | Number of CUDA barriers in the input CUDA function |