From 77681040df728ae2ac26ac68690ff20b3a797adf Mon Sep 17 00:00:00 2001 From: Eyal Rozenberg Date: Mon, 23 Dec 2024 02:25:27 +0200 Subject: [PATCH] Fixes #701: Removed gratuitous space for the `--no-source-include` NVRTC compilation option --- src/cuda/rtc/compilation_options.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cuda/rtc/compilation_options.hpp b/src/cuda/rtc/compilation_options.hpp index 7e4ecc12..e702992b 100644 --- a/src/cuda/rtc/compilation_options.hpp +++ b/src/cuda/rtc/compilation_options.hpp @@ -666,7 +666,7 @@ struct gadget, MarshalTarget, Delimiter> { if (opts.syntax_check_only) { marshalled << opt_start << "--fdevice-syntax-only"; } if (opts.less_builtins) { marshalled << opt_start << "--minimal"; } if (not opts.builtin_initializer_list) { marshalled << opt_start << "--builtin-initializer-list=false"; } - if (not opts.source_dirs_in_include_path) { marshalled << opt_start << "--no-source-include "; } + if (not opts.source_dirs_in_include_path) { marshalled << opt_start << "--no-source-include"; } if (opts.extra_device_vectorization) { marshalled << opt_start << "--extra-device-vectorization"; } if (opts.disable_warnings) { marshalled << opt_start << "--disable-warnings"; } if (opts.assume_restrict) { marshalled << opt_start << "--restrict"; }