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.
[ROCm/clr commit: bf6fdca1e8]
This commit is contained in:
@@ -110,9 +110,9 @@ extern int HIP_TRACE_API;
|
|||||||
#include <hip/hcc_detail/host_defines.h>
|
#include <hip/hcc_detail/host_defines.h>
|
||||||
#include <hip/hcc_detail/device_functions.h>
|
#include <hip/hcc_detail/device_functions.h>
|
||||||
#include <hip/hcc_detail/surface_functions.h>
|
#include <hip/hcc_detail/surface_functions.h>
|
||||||
|
#include <hip/hcc_detail/texture_functions.h>
|
||||||
#if __HCC__
|
#if __HCC__
|
||||||
#include <hip/hcc_detail/math_functions.h>
|
#include <hip/hcc_detail/math_functions.h>
|
||||||
#include <hip/hcc_detail/texture_functions.h>
|
|
||||||
#endif // __HCC__
|
#endif // __HCC__
|
||||||
|
|
||||||
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
|
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
|
||||||
|
|||||||
Filskillnaden har hållits tillbaka eftersom den är för stor
Load Diff
Referens i nytt ärende
Block a user