cuda.bindings._v2.driver.ctx_get_dev_resource#
- cuda.bindings._v2.driver.ctx_get_dev_resource(intptr_t h_ctx, int type)#
Get context resources.
Get the
typenameresources available to the context represented byh_ctxNote: The API is not supported on 32-bit platforms.- Parameters:
h_ctx (intptr_t) – Context to get resource for.
type (DevResourceType) – Type of resource to retrieve.
- Returns:
Output pointer to a
CUdevResourcestructure.- Return type:
CUdevResource_v1
See also
cuCtxGetDevResource