diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-04-30 16:51:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 13:51:25 -0700 |
| commit | 1a4a51301d084dd1c8c5906eb810eb6caf6f3963 (patch) | |
| tree | 3eac138d918853f88bb8e2b5f14ed36a57e54d7a /source/slang/slang-compiler.cpp | |
| parent | c45f368ae404798db67a601749c6e0047fba75ef (diff) | |
Preliminary CUDA half maths (#1827)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Split out StringEscapeUtil.
* Added StringEscapeUtil.
* Fix typo in unix quoting type.
* Small comment improvements.
* Try to fix linux linking issue.
* Fix typo.
* Attempt to fix linux link issue.
* Update VS proj even though nothing really changed.
* Fix another typo issue.
* Fix for windows issue.
Fixed bug.
* Make separate Utils for escaping.
* Fix typo.
* Split out into StringEscapeHandler.
* Windows shell does handle removing quotes (so remove code to remove them).
* Handle unescaping if not initiating using the shell.
* Slight improvement around shell like decoding.
* Simplify command extraction.
* Add shared-library category type.
* Fix bug in command extraction.
* Typo in transcendental category.
* Enable unit-test on in smoke test category.
* Make parsing failing output as a failing test.
* Fixes for transcendental tests. Disable tests that do not work.
* Changed category parsing.
* Removed the TestResult parameter from _gatherTestsForFile.
Made testsList only output.
* Remove testing if all tests were disabled.
* Make args of CommandLine always unescaped.
* Add category.
* Don't need escaping on unix/linux.
* Remove some no longer used functions.
* Add requireSMVersion to CUDAExtensionTracker.
* half-calc.slang now works for CUDA.
* bit-cast-16-bit works on CUDA.
* WIP handling of CUDA vector<half> types.
* Half swizzle CUDA.
* Half vector test.
* Fix swizzle half bug.
* Fix compilation issue with narrowing to Index.
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-compiler.cpp')
| -rwxr-xr-x | source/slang/slang-compiler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index 1d416634a..736250219 100755 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -1413,6 +1413,8 @@ SlangResult dissassembleDXILUsingDXC( // Look for the version if (auto cudaTracker = as<CUDAExtensionTracker>(source.extensionTracker)) { + cudaTracker->finalize(); + if (cudaTracker->m_smVersion.isSet()) { DownstreamCompiler::CapabilityVersion version; |
