From cbe2bedf428b9930e62817dd4ec9dbee76d27b92 Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Wed, 27 May 2020 15:03:59 -0400 Subject: [PATCH] [hip] Those texture interfaces are C interfaces should be always exposed. Change-Id: Ie34f1420839b17486346149b1672e70ec0088b54 --- hipamd/include/hip/hcc_detail/hip_runtime_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/include/hip/hcc_detail/hip_runtime_api.h b/hipamd/include/hip/hcc_detail/hip_runtime_api.h index d13c999351..cb50d47dce 100644 --- a/hipamd/include/hip/hcc_detail/hip_runtime_api.h +++ b/hipamd/include/hip/hcc_detail/hip_runtime_api.h @@ -3377,7 +3377,7 @@ hipError_t hipLaunchKernel(const void* function_address, size_t sharedMemBytes __dparm(0), hipStream_t stream __dparm(0)); -#if __HIP_ROCclr__ +#if __HIP_ROCclr__ || !defined(__HCC__) hipError_t hipBindTexture( size_t* offset, const textureReference* tex,