HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Texture Reference Management

Functions

template<class T >
hipChannelFormatDesc hipCreateChannelDesc ()
 
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 hipUnbindTexture (struct texture< T, dim, readMode > *tex)
 

Detailed Description

----------------------------------------------------------------------------------------------—

Warning
The HIP texture API implements a small subset of full texture API. Known limitations include:
  • Only point sampling is supported.
  • Only C++ APIs are provided.
  • Many APIs and modes are not implemented.

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: