From d700f67b79018f9b3aa33cf3a6362c4e1956fb36 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Tue, 7 May 2019 03:59:43 +0530 Subject: [PATCH] Fix symbol address issue on NVCC path [ROCm/hip commit: e906bd69cec791a9fe97d7a1be5e4b74bd6fa122] --- projects/hip/include/hip/nvcc_detail/hip_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime.h b/projects/hip/include/hip/nvcc_detail/hip_runtime.h index 19d740a1ee..3a18f11614 100644 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime.h +++ b/projects/hip/include/hip/nvcc_detail/hip_runtime.h @@ -96,7 +96,7 @@ typedef int hipLaunchParm; #define hipGridDim_y gridDim.y #define hipGridDim_z gridDim.z -#define HIP_SYMBOL(X) X +#define HIP_SYMBOL(X) &X /** * extern __shared__