diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-06-05 10:00:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-05 10:00:15 -0700 |
| commit | 3bb780724830ae830657a47e4eba008a4c0f4ff7 (patch) | |
| tree | 86f3367143bc3ab8ac71c0cc1b1adee827d92fcd /source/slang/slang-ast-dump.cpp | |
| parent | ecac0c76a93bd123d5a5a86473716ad166f8c5d6 (diff) | |
Fixes for active mask synthesis + tests (#1370)
* Fixes for active mask synthesis + tests
There are two fixes here:
* The code generation that follows active mask synthesis was requiring CUDA SM architecture version 7.0 for one of the introduced instructions, but not all of them. This change centralizes the handling of upgrading the required CUDA SM architecture version, and makes sure that the instructions introduced by active mask synthesis request version 7.0.
* The tests for active mask synthesis were not flagged as requiring the `cuda_sm_7_0` feature when invoking `render-test-tool`, which meant they run but produce unexpected results when invoked on a GPU without the required semantics for functions like `__ballot_sync()`. This change adds the missing `-render-feature cuda_sm_7_0` to those tests.
* fixup: mark more tests that rely on implicit active mask
Diffstat (limited to 'source/slang/slang-ast-dump.cpp')
0 files changed, 0 insertions, 0 deletions
