HIP_RESOURCE_DESC Struct Reference#
HIP_RESOURCE_DESC Struct Reference
#include <driver_types.h>
Data Fields | ||
HIPresourcetype | resType | |
Resource type. | ||
union { | ||
struct { | ||
hipArray_t hArray | ||
HIP array. More... | ||
} array | ||
struct { | ||
hipMipmappedArray_t hMipmappedArray | ||
HIP mipmapped array. More... | ||
} mipmap | ||
struct { | ||
hipDeviceptr_t devPtr | ||
Device pointer. More... | ||
hipArray_Format format | ||
Array format. More... | ||
unsigned int numChannels | ||
Channels per array element. More... | ||
size_t sizeInBytes | ||
Size in bytes. More... | ||
} linear | ||
struct { | ||
hipDeviceptr_t devPtr | ||
Device pointer. More... | ||
hipArray_Format format | ||
Array format. More... | ||
unsigned int numChannels | ||
Channels per array element. 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 | ||
struct { | ||
int reserved [32] | ||
} reserved | ||
} | res | |
unsigned int | flags | |
Flags (must be zero) | ||
Detailed Description
HIP resource view descriptor struct
Field Documentation
◆ [struct]
struct { ... } HIP_RESOURCE_DESC::array |
◆ devPtr
hipDeviceptr_t HIP_RESOURCE_DESC::devPtr |
Device pointer.
◆ flags
unsigned int HIP_RESOURCE_DESC::flags |
Flags (must be zero)
◆ format
hipArray_Format HIP_RESOURCE_DESC::format |
Array format.
◆ hArray
hipArray_t HIP_RESOURCE_DESC::hArray |
HIP array.
◆ height
size_t HIP_RESOURCE_DESC::height |
Height of the array in elements.
◆ hMipmappedArray
hipMipmappedArray_t HIP_RESOURCE_DESC::hMipmappedArray |
HIP mipmapped array.
◆ [struct]
struct { ... } HIP_RESOURCE_DESC::linear |
◆ [struct]
struct { ... } HIP_RESOURCE_DESC::mipmap |
◆ numChannels
unsigned int HIP_RESOURCE_DESC::numChannels |
Channels per array element.
◆ [struct]
struct { ... } HIP_RESOURCE_DESC::pitch2D |
◆ pitchInBytes
size_t HIP_RESOURCE_DESC::pitchInBytes |
Pitch between two rows in bytes.
◆ [union]
union { ... } HIP_RESOURCE_DESC::res |
◆ reserved [1/2]
int HIP_RESOURCE_DESC::reserved[32] |
◆ [struct] [2/2]
struct { ... } HIP_RESOURCE_DESC::reserved |
◆ resType
HIPresourcetype HIP_RESOURCE_DESC::resType |
Resource type.
◆ sizeInBytes
size_t HIP_RESOURCE_DESC::sizeInBytes |
Size in bytes.
◆ width
size_t HIP_RESOURCE_DESC::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/latest/include/hip/driver_types.h