SWDEV-340918 - make hip_runtime.h work with g++

Change-Id: Ief3e6dc075837dfccae3defad7da696130ed05bd
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus Maneesh Gupta tiomanta 2022-06-20 23:32:58 -04:00
1 tuismitheoir 5ad38a32bf
tiomantas 2bd0cb523e
1 comhad athraithe
+1 -1
@@ -26,7 +26,6 @@ THE SOFTWARE.
#include <cuda_runtime.h>
#include <hip/hip_runtime_api.h>
#include "nvidia_hip_unsafe_atomics.h"
#define HIP_KERNEL_NAME(...) __VA_ARGS__
@@ -77,6 +76,7 @@ typedef int hipLaunchParm;
#ifdef __CUDACC__
#include "nvidia_hip_unsafe_atomics.h"
#define hipThreadIdx_x threadIdx.x
#define hipThreadIdx_y threadIdx.y