summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-nvrtc-compiler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-nvrtc-compiler.cpp b/source/core/slang-nvrtc-compiler.cpp
index db4e4f32f..5d5a1ce0f 100644
--- a/source/core/slang-nvrtc-compiler.cpp
+++ b/source/core/slang-nvrtc-compiler.cpp
@@ -309,7 +309,12 @@ SlangResult NVRTCDownstreamCompiler::compile(const CompileOptions& options, RefP
cmdLine.addArg("-w");
//
+#if 0
cmdLine.addArg("-arch=compute_70");
+#else
+ // Needed for Warp intrinsics
+ cmdLine.addArg("-arch=compute_30");
+#endif
}
nvrtcProgram program = nullptr;