pub unsafe extern "C" fn cudaStreamGetDevResource(
hStream: cudaStream_t,
resource: *mut cudaDevResource,
type_: cudaDevResourceType,
) -> cudaError_tExpand description
Get stream resources.
Get the type resources available to the hStream and store them in resource.
Note: The API will return cudaErrorInvalidResourceType is type is cudaDevResourceType::cudaDevResourceTypeWorkqueueConfig or cudaDevResourceType::cudaDevResourceTypeWorkqueue.
ยงParameters
hStream: Stream to get resource for.resource: Output pointer to a cudaDevResource structure.type_: Type of resource to retrieve.