File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
# SPDX-License-Identifier: GPL-2.0-only
17
17
#
18
18
19
- cmake_minimum_required (VERSION 3.10 )
19
+ cmake_minimum_required (VERSION 3.10 )
20
20
21
21
project (bitcracker LANGUAGES CXX )
22
22
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ elseif(USE_NVIDIA_BACKEND)
76
76
set (CMAKE_CXX_FLAGS "${NVIDIA_GPU_CXX_FLAGS} " )
77
77
if (USE_SM )
78
78
message ("-- Building for SM_${USE_SM} compatibility" )
79
- string (APPEND CMAKE_CXX_FLAGS " -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_${USE_SM} " )
79
+ string (APPEND CMAKE_CXX_FLAGS " -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_${USE_SM} " )
80
80
else ()
81
81
message ("-- Building for SM_80 compatibility (DEFAULT)" )
82
- string (APPEND CMAKE_CXX_FLAGS " -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_80" )
82
+ string (APPEND CMAKE_CXX_FLAGS " -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_80 " )
83
83
endif ()
84
84
string (APPEND CMAKE_CXX_FLAGS " -DUSE_NVIDIA_BACKEND" )
85
85
elseif (USE_AMDHIP_BACKEND )
You can’t perform that action at this time.
0 commit comments