hipMemLocation Struct Reference#
hipMemLocation Struct Reference
#include <driver_types.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:
- include/hip/driver_types.h