hipMemLocation Struct Reference#
hipMemLocation Struct Reference
#include <hip_runtime_api.h>
Data Fields | |
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
Field Documentation
◆ id
int hipMemLocation::id |
Identifier for the provided location type hipMemLocationType
.
◆ type
hipMemLocationType hipMemLocation::type |
Specifies the location type, which describes the meaning of id.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.2/include/hip/hip_runtime_api.h