summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-03-25 14:08:21 -0400
committerGitHub <noreply@github.com>2020-03-25 14:08:21 -0400
commit28a0ca96a1ad2a3f0e09cc97b866f3b6338a09fa (patch)
tree271232cf6aa1917c23298d3dc1dc995ef65832f9 /source/core
parent889132e7e3c79ae364fa3882646861e5b14df503 (diff)
Better diagnostics on failure on CUDA. (#1288)
* Better diagnostics on failure on CUDA. * Catch exceptions in render-test * * Added ability to disable reporting on CUDA failures * Stopped using exception for reporting (just write to StdWriter::out() * Removed CUDAResult type * Don't set arch type on nvrtc to see if fixes CI issues. * Try compute_30 on CUDA. * Added ability to IGNORE_ a test DIsabled rw-texture-simple and texture-get-dimensions * Disable tests that require CUDA SM7.0 Use DISABLE_ prefix to disable tests. * Disable signalUnexpectedError doing printf.
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;