Enable surface functions on HIP clang path

Fix surface test on HIP clang path.
This commit is contained in:
Aaron Enye Shi
2018-07-05 20:49:47 +00:00
parent 76f86ef097
commit 22b60afa0d
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -110,9 +110,9 @@ extern int HIP_TRACE_API;
#include <hip/hcc_detail/host_defines.h>
#include <hip/hcc_detail/math_functions.h>
#include <hip/hcc_detail/device_functions.h>
#include <hip/hcc_detail/surface_functions.h>
#if __HCC__
#include <hip/hcc_detail/texture_functions.h>
#include <hip/hcc_detail/surface_functions.h>
#endif // __HCC__
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
@@ -23,8 +23,6 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_SURFACE_FUNCTIONS_H
#define HIP_INCLUDE_HIP_HCC_DETAIL_SURFACE_FUNCTIONS_H
#include <hc.hpp>
#include <hc_short_vector.hpp>
#include <hip/hcc_detail/hip_surface_types.h>
#define __SURFACE_FUNCTIONS_DECL__ static __inline__ __device__