Sanitizer Barrier API


Functions

SanitizerResult SANITIZERAPI sanitizerGetCudaBarrierCount (CUfunction kernel, uint32_t *numBarriers)
 Get number of CUDA barriers used by a function.

Detailed Description

Functions, types, and enums that implement the Sanitizer Barrier API.

Function Documentation

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.

Note:
Thread-safety: this function is thread safe.
Parameters:
[in] kernel CUDA function
[out] numBarriers Number of CUDA barriers in the input CUDA function


Generated on Tue Jan 24 19:24:20 2023 for SanitizerApi by  doxygen 1.5.8