HIP: Heterogenous-computing Interface for Portability
|
#include <driver_types.h>
Public Attributes | |
enum hipResourceType | resType |
union { | |
struct { | |
hipArray_t array | |
} array | |
struct { | |
hipMipmappedArray_t mipmap | |
} mipmap | |
struct { | |
void * devPtr | |
struct hipChannelFormatDesc desc | |
size_t sizeInBytes | |
} linear | |
struct { | |
void * devPtr | |
struct hipChannelFormatDesc desc | |
size_t width | |
size_t height | |
size_t pitchInBytes | |
} pitch2D | |
} | res |
HIP resource descriptor