Sanitizer_ResourceArrayData
-
struct Sanitizer_ResourceArrayData
Data passed into a CUDA array callback function.
Data passed into a CUDA array callback function as the
cbdataargument to Sanitizer_CallbackFunc. Thecbdatawill be this type fordomainequal tp SANITIZER_CB_DOMAIN_RESOURCE andcbidequal to SANITIZER_CBID_RESOURCE_ARRAY_CREATED or SANITIZER_CBID_RESOURCE_ARRAY_DESTROYED. 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.