diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-03-02 16:18:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-02 16:18:20 -0500 |
| commit | 8899c149b05def1cce626ea649012c4c974861de (patch) | |
| tree | 77e97c2997a653ba9262b32f55e9e3f37e166653 /source/core/slang-nvrtc-compiler.cpp | |
| parent | b85ca6f86d46ee3c4d5784d0bd4ebc8509e2a9bd (diff) | |
Additional Wave Intrinsic Support (#1252)
* Test for some wave intrinsics.
More wave intrinsic support on CUDA.
* Use shfl_xor_sync.
* Improvements around wave intrinsics.
Fix built in integer types belong to __BuiltinIntegerType.
* Improvements and fixes around Wave intrinsics.
* Added WaveIsFirstLane test.
No longer use __wavemask_lt, as appears not available as an intrinsic.
* Small fixes to CUDA prelude.
* Add wave-active-product test.
Handle the special case for arbitray sums.
* Used macro to implement CUDA wave intrinsics.
Diffstat (limited to 'source/core/slang-nvrtc-compiler.cpp')
| -rw-r--r-- | source/core/slang-nvrtc-compiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-nvrtc-compiler.cpp b/source/core/slang-nvrtc-compiler.cpp index f68c4dc01..27d269125 100644 --- a/source/core/slang-nvrtc-compiler.cpp +++ b/source/core/slang-nvrtc-compiler.cpp @@ -307,6 +307,9 @@ SlangResult NVRTCDownstreamCompiler::compile(const CompileOptions& options, RefP // This is arguably too much - but nvrtc does not appear to have a mechanism to switch off individual warnings. // I tried the -Xcudafe mechanism but that does not appear to work for nvrtc cmdLine.addArg("-w"); + + // + cmdLine.addArg("-arch=compute_70"); } nvrtcProgram program = nullptr; |
