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.
Tento commit je obsažen v:
Aaron Enye Shi
2018-07-25 19:52:19 +00:00
rodič 8c195a3588
revize bf6fdca1e8
2 změnil soubory, kde provedl 1330 přidání a 1310 odebrání
+1 -1
Zobrazit soubor
@@ -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.
Rozdílový obsah nebyl zobrazen, protože je příliš veliký Načíst rozdílové porovnání