Skip to main content

cudaExecutionCtxGetDevResource

Function cudaExecutionCtxGetDevResource 

Source
pub unsafe extern "C" fn cudaExecutionCtxGetDevResource(
    ctx: cudaExecutionContext_t,
    resource: *mut cudaDevResource,
    type_: cudaDevResourceType,
) -> cudaError_t
Expand description

Get context resources.

Get the type resources available to context represented by ctx.

Note: The API is not supported on 32-bit platforms.

ยงParameters

  • ctx: Execution context to get resource for (required parameter, see note below).
  • resource: Output pointer to a cudaDevResource structure.
  • type_: Type of resource to retrieve.