This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

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