Skip to content

Commit

Permalink
add the arch flag "90" for the Hopper architecture
Browse files Browse the repository at this point in the history
for the Hopper architecture we need to use flag 90 to build the kernel,
otherwise the GPU kernel cannot be launched in H800 GPU.

Signed-off-by: Liang Zhou <[email protected]>
  • Loading branch information
LiangZhou001 committed Aug 9, 2023
1 parent 22d2df8 commit 5522de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set (NVIDIA "" CACHE PATH "Path to Nvidia driver source")
set (KERNEL "/lib/modules/${CMAKE_SYSTEM_VERSION}/build" CACHE PATH "Path to kernel source, or module directory")
set (FIO "" CACHE PATH "Path to FIO installation")

set (nvidia_archs "70;80" CACHE STRING "NVIDIA compute architectures")
set (nvidia_archs "70;80;90" CACHE STRING "NVIDIA compute architectures")
set (no_smartio_samples true CACHE BOOL "Do not use SISCI for examples")
set (no_smartio_benchmarks true CACHE BOOL "Do not use SISCI for benchmarks")
set (no_smartio true CACHE BOOL "Do not use SISCI for library or examples")
Expand Down

0 comments on commit 5522de9

Please sign in to comment.