cuda.bindings._v2.driver.green_ctx_get_dev_resource#
- cuda.bindings._v2.driver.green_ctx_get_dev_resource(intptr_t h_ctx, int type)#
Get green context resources.
Get the
typenameresources available to the green context represented byh_ctx.- Parameters:
h_ctx (intptr_t) – Green context to get resource for.
type (DevResourceType) – Type of resource to retrieve.
- Returns:
Output pointer to a
CUdevResourcestructure.- Return type:
CUdevResource_v1
See also
cuGreenCtxGetDevResource