Execution Context Management

Execution Context Management#

HIPFORT API Reference: Execution Context Management
Execution Context Management

Gets device resource of a given type for a device.

Gets device resource of a given type for a device.

----------------------------------------------------------------------------------------------—

This section describes execution context management functions of HIP runtime API.

Parameters
[out]resource- Output device resource pointer
[in]device- Device to get resource for
[in]type- Type of resource to retrieve
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceType, hipErrorInvalidDevice