HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
Public Attributes | List of all members
hipArrayMapInfo Struct Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipArrayMapInfo:
Collaboration graph
[legend]

Public Attributes

hipResourceType resourceType
 Resource type.
 
union { 
 
   hipMipmappedArray   mipmap 
 
   hipArray_t   array 
 
resource 
 
hipArraySparseSubresourceType subresourceType
 Sparse subresource type.
 
union { 
 
   struct { 
 
      unsigned int   level 
 For mipmapped arrays must be a valid mipmap level. For arrays must be zero.
 
      unsigned int   layer 
 For layered arrays must be a valid layer index. Otherwise, must be zero.
 
      unsigned int   offsetX 
 X offset in elements.
 
      unsigned int   offsetY 
 Y offset in elements.
 
      unsigned int   offsetZ 
 Z offset in elements.
 
      unsigned int   extentWidth 
 Width in elements.
 
      unsigned int   extentHeight 
 Height in elements.
 
      unsigned int   extentDepth 
 Depth in elements.
 
   }   sparseLevel 
 
   struct { 
 
      unsigned int   layer 
 For layered arrays must be a valid layer index. Otherwise, must be zero.
 
      unsigned long long   offset 
 Offset within mip tail.
 
      unsigned long long   size 
 Extent in bytes.
 
   }   miptail 
 
subresource 
 
hipMemOperationType memOperationType
 Memory operation type.
 
hipMemHandleType memHandleType
 Memory handle type.
 
union { 
 
   hipMemGenericAllocationHandle_t   memHandle 
 
memHandle 
 
unsigned int deviceBitMask
 Device ordinal bit mask.
 
unsigned int flags
 flags for future use, must be zero now.
 
unsigned int reserved [2]
 Reserved for future use, must be zero now.
 

Detailed Description

Map info for arrays

Member Data Documentation

◆ offset

unsigned long long hipArrayMapInfo::offset

Offset within mip tail.

Offset within the memory.


The documentation for this struct was generated from the following file: