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

hipExternalMemoryHandleDesc Struct Reference

hipExternalMemoryHandleDesc Struct Reference#

HIP Runtime API Reference: hipExternalMemoryHandleDesc Struct Reference
hipExternalMemoryHandleDesc Struct Reference

#include <hip_runtime_api.h>

Data Fields

hipExternalMemoryHandleType type
 
union {
   int   fd
 
   struct {
      void *   handle
 
      const void *   name
 
   }   win32
 
   const void *   nvSciBufObject
 
handle
 
unsigned long long size
 
unsigned int flags
 
unsigned int reserved [16]
 

Field Documentation

◆ fd

int hipExternalMemoryHandleDesc::fd

◆ flags

unsigned int hipExternalMemoryHandleDesc::flags

◆ handle [1/2]

void* hipExternalMemoryHandleDesc::handle

◆  [2/2]

union { ... } hipExternalMemoryHandleDesc::handle

◆ name

const void* hipExternalMemoryHandleDesc::name

◆ nvSciBufObject

const void* hipExternalMemoryHandleDesc::nvSciBufObject

◆ reserved

unsigned int hipExternalMemoryHandleDesc::reserved[16]

◆ size

unsigned long long hipExternalMemoryHandleDesc::size

◆ type

hipExternalMemoryHandleType hipExternalMemoryHandleDesc::type

◆ 

struct { ... } hipExternalMemoryHandleDesc::win32

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