hipPointerAttribute_t Struct Reference

hipPointerAttribute_t Struct Reference#

HIP Runtime API Reference: hipPointerAttribute_t Struct Reference
hipPointerAttribute_t Struct Reference

#include <hip_runtime_api.h>

Data Fields

union {
   enum hipMemoryType   memoryType
 
   enum hipMemoryType   type
 
}; 
 
int device
 
void * devicePointer
 
void * hostPointer
 
int isManaged
 
unsigned allocationFlags
 

Detailed Description

Pointer attributes

Field Documentation

◆ 

union { ... }

◆ allocationFlags

unsigned hipPointerAttribute_t::allocationFlags

◆ device

int hipPointerAttribute_t::device

◆ devicePointer

void* hipPointerAttribute_t::devicePointer

◆ hostPointer

void* hipPointerAttribute_t::hostPointer

◆ isManaged

int hipPointerAttribute_t::isManaged

◆ memoryType

enum hipMemoryType hipPointerAttribute_t::memoryType

◆ type

enum hipMemoryType hipPointerAttribute_t::type

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-5.5.0/include/hip/hip_runtime_api.h