3d7945faae38360342877681d9638d86990de3da
This change addresses three things. First the available APIs are brought up to par with Cuda (missing ones are added and incorrect ones removed). Second the size of hip/hcc_detail/texture_functions.h. Using some template magic we can bring down the code size down from ~11k lines to only ~900 lines in total. Third this change fixes some bugs in the declaration of the texture fetch funcitons. Currently the return type for textures with read mode set to hipReadModeNormalizedFloat is not float. This causes pixel data to be lost during the bitcast when the texture pixel element size is less than the size of float. The new headers will only be enabled for VDI to avoid breaking HCC. Change-Id: I77cb29293fb79e55681be094c37702a48d80b64c
Description
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Other
1.1%