Skip to content

Commit b8068ac

Browse files
committed
[dl-cifar][SYCL] Fix name of the AMD backend CMake option
1 parent 5d180df commit b8068ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dl-cifar/SYCL/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Use -std, not -gnu
3131

3232
option(GPU_AOT "Build AOT for Intel GPU" OFF)
3333
option(USE_NVIDIA_BACKEND "Build for NVIDIA backend" OFF)
34-
option(USE_AMDHIP_BACKEND "Build for AMD HIP backend" OFF)
34+
option(USE_AMD_BACKEND "Build for AMD backend" OFF)
3535
option(DEVICE_TIMER "Build using Device Timer" OFF)
3636

3737
set(IN_ORDER_QUEUE_DEFAULT OFF)
38-
if (${USE_NVIDIA_BACKEND} OR ${USE_AMDHIP_BACKEND})
38+
if (${USE_NVIDIA_BACKEND} OR ${USE_AMD_BACKEND})
3939
set(IN_ORDER_QUEUE_DEFAULT ON)
4040
endif()
4141
option(IN_ORDER_QUEUE "Use in-order SYCL queue" ${IN_ORDER_QUEUE_DEFAULT})

0 commit comments

Comments
 (0)