HIP: Heterogenous-computing Interface for Portability
Public Attributes | List of all members
hipMemLocation Struct Reference

#include <hip_runtime_api.h>

Public Attributes

hipMemLocationType type
 Specifies the location type, which describes the meaning of id.
 
int id
 Identifier for the provided location type hipMemLocationType.
 

Detailed Description

Specifies a memory location.

To specify a gpu, set type = hipMemLocationTypeDevice and set id = the gpu's device ID


The documentation for this struct was generated from the following file: