Enable HIP texture functions with HIP vector types

Include texture_functions.h on HIP-Clang path. Use HIP vector types instead of hc::short_vectors for texture_functions, and remove HCC headers.
此提交包含在:
Aaron Enye Shi committed 2018-07-25 19:52:19 +00:00
1 父節點 73ef531208
當前提交 8c50bcfdab
2 file changed
+1330 -1310

No files matched your search

+1 -1
查看文件
@@ -110,9 +110,9 @@ extern int HIP_TRACE_API;
#include <hip/hcc_detail/host_defines.h>
#include <hip/hcc_detail/device_functions.h>
#include <hip/hcc_detail/surface_functions.h>
#include <hip/hcc_detail/texture_functions.h>
#if __HCC__
#include <hip/hcc_detail/math_functions.h>
#include <hip/hcc_detail/texture_functions.h>
#endif // __HCC__
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
File diff suppressed because it is too large. Load diff