Skip to content

Commit

Permalink
CUDA のコンパイル・オプションで _install/ubuntu-20.04_x86_64/release/llvm/clang/li…
Browse files Browse the repository at this point in the history
…b/clang/18/include/cuda_wrappers +α を指定してみる
  • Loading branch information
enm10k committed Jan 17, 2024
1 parent b49d2b0 commit 6c6bc12
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 @@ -481,7 +481,7 @@ elseif (SORA_TARGET_OS STREQUAL "ubuntu")
third_party/NvCodec/NvCodec/NvDecoder/NvDecoder.cpp
third_party/NvCodec/NvCodec/NvEncoder/NvEncoderCuda.cpp
PROPERTIES
COMPILE_OPTIONS "-xcuda;--cuda-gpu-arch=sm_35;-std=gnu++17"
COMPILE_OPTIONS "-xcuda;--cuda-gpu-arch=sm_35;-std=gnu++17;-I_install/ubuntu-20.04_x86_64/release/llvm/clang/lib/clang/18/include/cuda_wrappers/bits;-I_install/ubuntu-20.04_x86_64/release/llvm/clang/lib/clang/18/include/cuda_wrappers"
)

# CUDA を要求したくないので libsora.a に含める
Expand Down

0 comments on commit 6c6bc12

Please sign in to comment.