|
HIP: Heterogenous-computing Interface for Portability
|
Functions | |
| hipChannelFormatDesc | hipCreateChannelDesc (int x, int y, int z, int w, hipChannelFormatKind f) |
| Returns a channel descriptor using the specified format. More... | |
| template<typename T > | |
| hipChannelFormatDesc | hipCreateChannelDesc () |
| template<> | |
| hipChannelFormatDesc | hipCreateChannelDesc< int > () |
| template<> | |
| hipChannelFormatDesc | hipCreateChannelDesc< unsigned int > () |
| template<> | |
| hipChannelFormatDesc | hipCreateChannelDesc< long > () |
| template<> | |
| hipChannelFormatDesc | hipCreateChannelDesc< unsigned long > () |
| template<> | |
| hipChannelFormatDesc | hipCreateChannelDesc< float > () |
| template<class T , int dim, enum hipTextureReadMode readMode> | |
| hipError_t | hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX) |
| template<class T , int dim, enum hipTextureReadMode readMode> | |
| hipError_t | hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, size_t size=UINT_MAX) |
| template<class T , int dim, enum hipTextureReadMode readMode> | |
| hipError_t | hipBindTextureToArray (struct texture< T, dim, readMode > &tex, hipArray *array) |
| template<class T , int dim, enum hipTextureReadMode readMode> | |
| hipError_t | hipUnbindTexture (struct texture< T, dim, readMode > &tex) |
The HIP texture support is intended to allow use of texture cache on hardware where this is beneficial.
The following CUDA APIs are not currently supported:
| hipChannelFormatDesc hipCreateChannelDesc | ( | int | x, |
| int | y, | ||
| int | z, | ||
| int | w, | ||
| hipChannelFormatKind | f | ||
| ) |
Returns a channel descriptor using the specified format.
| [in] | x | X component |
| [in] | y | Y component |
| [in] | z | Z component |
| [in] | w | W component |
| [in] | f | Channel format |
1.8.6