hipResourceDesc Struct Reference#
hipResourceDesc Struct Reference
#include <driver_types.h>
Collaboration diagram for hipResourceDesc:
Data Fields | ||
enum hipResourceType | resType | |
Resource type. | ||
union { | ||
struct { | ||
hipArray_t array | ||
HIP array. More... | ||
} array | ||
struct { | ||
hipMipmappedArray_t mipmap | ||
HIP mipmapped array. More... | ||
} mipmap | ||
struct { | ||
void * devPtr | ||
Device pointer. More... | ||
struct hipChannelFormatDesc desc | ||
Channel format description. More... | ||
size_t sizeInBytes | ||
Size in bytes. More... | ||
} linear | ||
struct { | ||
void * devPtr | ||
Device pointer. More... | ||
struct hipChannelFormatDesc desc | ||
Channel format description. More... | ||
size_t width | ||
Width of the array in elements. More... | ||
size_t height | ||
Height of the array in elements. More... | ||
size_t pitchInBytes | ||
Pitch between two rows in bytes. More... | ||
} pitch2D | ||
} | res | |
Detailed Description
HIP resource descriptor
Field Documentation
◆ array [1/2]
hipArray_t hipResourceDesc::array |
HIP array.
◆ [struct] [2/2]
struct { ... } hipResourceDesc::array |
◆ desc
struct hipChannelFormatDesc hipResourceDesc::desc |
Channel format description.
◆ devPtr
void* hipResourceDesc::devPtr |
Device pointer.
◆ height
size_t hipResourceDesc::height |
Height of the array in elements.
◆ [struct]
struct { ... } hipResourceDesc::linear |
◆ mipmap [1/2]
hipMipmappedArray_t hipResourceDesc::mipmap |
HIP mipmapped array.
◆ [struct] [2/2]
struct { ... } hipResourceDesc::mipmap |
◆ [struct]
struct { ... } hipResourceDesc::pitch2D |
◆ pitchInBytes
size_t hipResourceDesc::pitchInBytes |
Pitch between two rows in bytes.
◆ [union]
union { ... } hipResourceDesc::res |
◆ resType
enum hipResourceType hipResourceDesc::resType |
Resource type.
◆ sizeInBytes
size_t hipResourceDesc::sizeInBytes |
Size in bytes.
◆ width
size_t hipResourceDesc::width |
Width of the array in elements.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.2/include/hip/driver_types.h