Sanitizer_LaunchData Struct Reference
[Sanitizer Callback API]

Data passed into a launch callback function. More...


Data Fields

CUcontext apiContext
CUstream apiStream
CUcontext context
CUdevice device
CUfunction function
const char * functionName
uint64_t gridId
Sanitizer_StreamHandle hApiStream
Sanitizer_LaunchHandle hLaunch
Sanitizer_StreamHandle hStream
CUmodule module
CUstream stream
uint32_t blockDim_x
uint32_t blockDim_y
uint32_t blockDim_z
uint32_t clusterDim_x
uint32_t clusterDim_y
uint32_t clusterDim_z
uint32_t gridDim_x
uint32_t gridDim_y
uint32_t gridDim_z


Detailed Description

Data passed into a launch callback function as the cbdata argument to Sanitizer_CallbackFunc. The cbdata will be this type for domain equal to SANITIZER_CB_DOMAIN_LAUNCH. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.

Field Documentation

Only valid for graph node launches. This is the context of the stream used in the graph launch API call.

Only valid for graph node launches. This is the stream used in the graph launch API call.

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

The context where the grid is launched. For graph node launches, this is the context in which the kernel will run.

The device where the grid is launched

The function of the grid launch.

The name of the launched function.

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Launch properties of the grid. These values are only valid for SANITIZER_CBID_LAUNCH_BEGIN and graph node launch callbacks

Unique identifier of the grid launch. For graph node launches, this is only unique within the graphexec launch.

Sanitizer_StreamHandle Sanitizer_LaunchData::hApiStream

Unique handle for the API stream.

Sanitizer_LaunchHandle Sanitizer_LaunchData::hLaunch

Handle of the grid launch. This is only valid between the launch begin and end callbacks.

Sanitizer_StreamHandle Sanitizer_LaunchData::hStream

Unique handle for the stream.

The module containing the grid code.

The stream where the grid is launched.


Generated on Wed Jun 5 23:30:06 2024 for SanitizerApi by  doxygen 1.5.8