Sanitizer_MemcpyData Struct Reference
[Sanitizer Callback API]

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


Data Fields

CUcontext apiContext
CUstream apiStream
Sanitizer_MemcpyDirection direction
uint64_t dstAddress
CUcontext dstContext
uint64_t dstPitch
CUstream dstStream
Sanitizer_StreamHandle hApiStream
Sanitizer_StreamHandle hDstStream
Sanitizer_StreamHandle hSrcStream
uint32_t isAsync
uint64_t size
uint64_t srcAddress
CUcontext srcContext
uint64_t srcPitch
CUstream srcStream
uint64_t width


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_MEMCPY. 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

The context on which the operation was requested

The stream on which the operation was requested

The direction of the transfer

The destination allocation address.

The context where the destination allocation is located

The destination allocation pitch.

The stream where the memcpy is executed on the destination context

Sanitizer_StreamHandle Sanitizer_MemcpyData::hApiStream

Unique handle for the API stream.

Sanitizer_StreamHandle Sanitizer_MemcpyData::hDstStream

Unique handle for the destination context stream.

Sanitizer_StreamHandle Sanitizer_MemcpyData::hSrcStream

Unique handle for the source context stream.

Boolean value indicating if the transfer is asynchronous.

Size of the transfer in bytes.

The source allocation address.

The context where the source allocation is located

The source allocation pitch.

The stream where the memcpy is executed on the source context

Memcpy size configuration.


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