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

enum hipMemoryType type
 
int device
 
void * devicePointer
 
void * hostPointer
 
int isManaged
 
unsigned allocationFlags
 

Detailed Description

Pointer attributes

Field Documentation

◆ 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

◆ 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-6.2.0/include/hip/hip_runtime_api.h