From 07c3e4f89841095360f60206b3fedb5b6e1072eb Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Tue, 11 Feb 2020 12:16:51 -0500 Subject: [PATCH] fix build error in nvcc path [ROCm/hip commit: 959f1b0f0e6dd1da478920940bdbd590d5c06a4b] --- projects/hip/include/hip/nvcc_detail/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h index bcddce58b2..6e0d02d0c0 100644 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h @@ -142,9 +142,9 @@ typedef enum cudaChannelFormatKind hipChannelFormatKind; #define hipOccupancyDefault cudaOccupancyDefault -#define hipCooperativeLaunchMultiDeviceNoPreSync +#define hipCooperativeLaunchMultiDeviceNoPreSync \ cudaCooperativeLaunchMultiDeviceNoPreSync -#define hipCooperativeLaunchMultiDeviceNoPostSync +#define hipCooperativeLaunchMultiDeviceNoPostSync \ cudaCooperativeLaunchMultiDeviceNoPostSync