diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-04-14 17:00:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-14 17:00:11 -0400 |
| commit | fbac017938343724407ab036abd736c942b4e187 (patch) | |
| tree | 36314aaffcf461eafbefb916ea516462511d8324 /tests/compute/unbounded-array-of-array-syntax.slang | |
| parent | cbdee1b1873ff0b7be887bccfbe5409e1a7ba685 (diff) | |
CUDA global scope initialization of arrays without function calls. (#1320)
* Fix CUDA output of a static const array if values are all literals.
* Fix bug in Convert definition.
* Output makeArray such that is deconstructed on CUDA to fill in based on what the target type is. Tries to expand such that there are no function calls so that static const global scope definitions work.
* Fix unbounded-array-of-array-syntax.slang to work correctly on CUDA.
* Remove tabs.
* Check works with static const vector/matrix.
* Fix typo in type comparison.
* Shorten _areEquivalent test.
* Rename _emitInitializerList. Some small comment fixes.
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tests/compute/unbounded-array-of-array-syntax.slang')
| -rw-r--r-- | tests/compute/unbounded-array-of-array-syntax.slang | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/compute/unbounded-array-of-array-syntax.slang b/tests/compute/unbounded-array-of-array-syntax.slang index 21b05dc71..17bb5eb2e 100644 --- a/tests/compute/unbounded-array-of-array-syntax.slang +++ b/tests/compute/unbounded-array-of-array-syntax.slang @@ -2,6 +2,7 @@ //TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute //TEST:CROSS_COMPILE:-target dxbc-assembly -entry computeMain -profile cs_5_1 //TEST:CROSS_COMPILE:-target spirv-assembly -entry computeMain -profile cs_5_1 +//TEST(compute):COMPARE_COMPUTE_EX:-cuda -compute //TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name outputBuffer RWStructuredBuffer<int> outputBuffer; |
