SWDEV-340918 - make hip_runtime.h work with g++
Change-Id: Ief3e6dc075837dfccae3defad7da696130ed05bd
[ROCm/clr commit: 2bd0cb523e]
This commit is contained in:
committed by
Maneesh Gupta
parent
325aca33ad
commit
7e2c04a53b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user