From c8be8496c8a15d0ede8338939a7512109b8e5e46 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Wed, 27 Nov 2024 13:41:09 -0800 Subject: Initial commit. --- julia/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 julia/CMakeLists.txt (limited to 'julia/CMakeLists.txt') diff --git a/julia/CMakeLists.txt b/julia/CMakeLists.txt new file mode 100644 index 0000000..e5428fb --- /dev/null +++ b/julia/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.28) + +project(cuda_julia LANGUAGES CUDA CXX) + +add_executable(cuda_julia + julia.cu) + +# -Wpedantic causes warnings due to nvcc emitting non-standard (gcc-specific) +# host code. +# https://stackoverflow.com/questions/31000996/warning-when-compiling-cu-with-wpedantic-style-of-line-directive-is-a-gcc-ex +target_compile_options(cuda_julia PRIVATE -Wall -Wextra -Wno-pedantic) -- cgit v1.2.3