pub unsafe extern "C" fn cudaDeviceGetDevResource(
device: c_int,
resource: *mut cudaDevResource,
type_: cudaDevResourceType,
) -> cudaError_tExpand description
Get device resources.
Get the type resources available to the device. This may often be the starting point for further partitioning or configuring of resources.
Note: The API is not supported on 32-bit platforms.
ยงParameters
device: Device to get resource for.resource: Output pointer to a cudaDevResource structure.type_: Type of resource to retrieve.