HIP: Heterogenous-computing Interface for Portability
|
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 |
hipDeviceptr_t HIP_RESOURCE_DESC_st::devPtr |
Device pointer
unsigned int HIP_RESOURCE_DESC_st::flags |
Flags (must be zero)
hipArray_Format HIP_RESOURCE_DESC_st::format |
Array format
hipArray_t HIP_RESOURCE_DESC_st::hArray |
HIP array
size_t HIP_RESOURCE_DESC_st::height |
Height of the array in elements
hipMipmappedArray_t HIP_RESOURCE_DESC_st::hMipmappedArray |
HIP mipmapped array
unsigned int HIP_RESOURCE_DESC_st::numChannels |
Channels per array element
size_t HIP_RESOURCE_DESC_st::pitchInBytes |
Pitch between two rows in bytes
HIPresourcetype HIP_RESOURCE_DESC_st::resType |
Resource type
size_t HIP_RESOURCE_DESC_st::sizeInBytes |
Size in bytes
size_t HIP_RESOURCE_DESC_st::width |
Width of the array in elements