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

hipMemAllocNodeParams Struct Reference

hipMemAllocNodeParams Struct Reference#

HIP Runtime API Reference: hipMemAllocNodeParams Struct Reference
hipMemAllocNodeParams Struct Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipMemAllocNodeParams:
[legend]

Data Fields

hipMemPoolProps poolProps
 
const hipMemAccessDescaccessDescs
 
size_t accessDescCount
 The number of access descriptors. More...
 
size_t bytesize
 The size of the requested allocation in bytes. More...
 
void * dptr
 Returned device address of the allocation. More...
 

Field Documentation

◆ accessDescCount

size_t hipMemAllocNodeParams::accessDescCount

The number of access descriptors.

◆ accessDescs

const hipMemAccessDesc* hipMemAllocNodeParams::accessDescs

The number of memory access descriptors. Must not be bigger than the number of GPUs

◆ bytesize

size_t hipMemAllocNodeParams::bytesize

The size of the requested allocation in bytes.

◆ dptr

void* hipMemAllocNodeParams::dptr

Returned device address of the allocation.

◆ poolProps

hipMemPoolProps hipMemAllocNodeParams::poolProps

Pool properties, which contain where the location should reside


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