summaryrefslogtreecommitdiffstats
path: root/tools/slang-cpp-extractor/slang-cpp-extractor-main.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2020-05-04 09:06:55 -0700
committerGitHub <noreply@github.com>2020-05-04 09:06:55 -0700
commit5d3a737e75346b6ced204829a60be2837589e9ad (patch)
treef60964d5f9c4042b49416082e81c35eef11b42fa /tools/slang-cpp-extractor/slang-cpp-extractor-main.cpp
parentc697fe50db0a74d76c6922ee24eb1f8d87def5f8 (diff)
Make stdlib WaveActive* call WaveMask* (#1336)
This change makes the various `WaveActive*()` functions have default implementations that call `WaveMask*()` passing `WaveActiveMask()`. The new definitions will be used during CUDA code generation, which simplifies some of the duplication that was occuring in the `__target_intrinsic` modifiers. This change does *not* add logic to make computation of `WaveGetActiveMask()` corect on CUDA, so these functions will still fail to provide the behavior that users need/expect. A future change will need to add logic to synthesize the value of `WaveGetActiveMask()` automatically.
Diffstat (limited to 'tools/slang-cpp-extractor/slang-cpp-extractor-main.cpp')
0 files changed, 0 insertions, 0 deletions