HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
Public Attributes | List of all members
HIP_RESOURCE_DESC_st Struct Reference
Collaboration diagram for HIP_RESOURCE_DESC_st:
Collaboration graph
[legend]

Public Attributes

HIPresourcetype resType
 
union { 
 
   struct { 
 
      hipArray_t   hArray 
 
   }   array 
 
   struct { 
 
      hipMipmappedArray_t   hMipmappedArray 
 
   }   mipmap 
 
   struct { 
 
      hipDeviceptr_t   devPtr 
 
      hipArray_Format   format 
 
      unsigned int   numChannels 
 
      size_t   sizeInBytes 
 
   }   linear 
 
   struct { 
 
      hipDeviceptr_t   devPtr 
 
      hipArray_Format   format 
 
      unsigned int   numChannels 
 
      size_t   width 
 
      size_t   height 
 
      size_t   pitchInBytes 
 
   }   pitch2D 
 
   struct { 
 
      int   reserved [32] 
 
   }   reserved 
 
res 
 
unsigned int flags
 

Member Data Documentation

◆ devPtr

hipDeviceptr_t HIP_RESOURCE_DESC_st::devPtr

Device pointer

◆ flags

unsigned int HIP_RESOURCE_DESC_st::flags

Flags (must be zero)

◆ format

hipArray_Format HIP_RESOURCE_DESC_st::format

Array format

◆ hArray

hipArray_t HIP_RESOURCE_DESC_st::hArray

HIP array

◆ height

size_t HIP_RESOURCE_DESC_st::height

Height of the array in elements

◆ hMipmappedArray

hipMipmappedArray_t HIP_RESOURCE_DESC_st::hMipmappedArray

HIP mipmapped array

◆ numChannels

unsigned int HIP_RESOURCE_DESC_st::numChannels

Channels per array element

◆ pitchInBytes

size_t HIP_RESOURCE_DESC_st::pitchInBytes

Pitch between two rows in bytes

◆ resType

HIPresourcetype HIP_RESOURCE_DESC_st::resType

Resource type

◆ sizeInBytes

size_t HIP_RESOURCE_DESC_st::sizeInBytes

Size in bytes

◆ width

size_t HIP_RESOURCE_DESC_st::width

Width of the array in elements


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