Skip to content

Commit 73f3c8d

Browse files
author
Jason G. Tong
committed
Updating AMD backend macro
1 parent 8ac251f commit 73f3c8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

easywave/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To compile the SYCL code on NVIDIA GPUs, please use the following:
3131

3232
To compile the SYCL code on AMD GPUs, please use the following:
3333

34-
`-DUSE_AMDHIP_BACKEND=gfx90a` for MI250 or `-DUSE_AMDHIP_BACKEND=gfx908` for MI100
34+
`-DUSE_AMD_BACKEND=gfx90a` for MI250 or `-DUSE_AMD_BACKEND=gfx908` for MI100
3535

3636
## CUDA:
3737

easywave/SYCL/src/ewCudaKernels.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SYCL_EXTERNAL __attribute__((always_inline)) void fluxUpdate(KernelData data, sy
2828
SYCL_EXTERNAL __attribute__((always_inline)) void fluxBoundary(KernelData data, sycl::nd_item<1> item_ct1);
2929
SYCL_EXTERNAL __attribute__((always_inline)) void gridExtend(KernelData data, sycl::nd_item<1> item_ct1);
3030

31-
#ifdef USE_AMDHIP_BACKEND
31+
#ifdef USE_AMD_BACKEND
3232
#include "ewCudaKernels.cpp"
3333
#endif // llvm-amd backend has a bug
3434

0 commit comments

Comments
 (0)