HIP: Heterogenous-computing Interface for Portability
|
HIP C++ Texture API for hcc compiler. More...
#include <limits.h>
#include <hip/hcc_detail/driver_types.h>
#include <hip/hcc_detail/channel_descriptor.h>
#include <hip/hcc_detail/texture_types.h>
Go to the source code of this file.
Macros | |
#define | hipTextureType1D 1 |
#define | tex1Dfetch(_tex, _addr) (_tex._dataPtr[_addr]) |
#define | tex2D(_tex, _dx, _dy) _tex._dataPtr[(unsigned int)_dx + (unsigned int)_dy*(_tex.width)] |
HIP C++ Texture API for hcc compiler.