diff options
| author | Harsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com> | 2025-08-25 10:50:41 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-25 05:20:41 +0000 |
| commit | 1562f98c07954ae17f9e7ef186f6c8eb029740ab (patch) | |
| tree | 72393fc9724beff6d35c762734c69588b1002123 /tests/compute/unbounded-array-of-array-syntax.slang | |
| parent | 7b4d02803344d52af8d979da1d0f42936d360f00 (diff) | |
Fix#8084: Batch-8: Enable cuda tests (#8268)
Diffstat (limited to 'tests/compute/unbounded-array-of-array-syntax.slang')
| -rw-r--r-- | tests/compute/unbounded-array-of-array-syntax.slang | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/compute/unbounded-array-of-array-syntax.slang b/tests/compute/unbounded-array-of-array-syntax.slang index c0508894a..896abda7c 100644 --- a/tests/compute/unbounded-array-of-array-syntax.slang +++ b/tests/compute/unbounded-array-of-array-syntax.slang @@ -1,6 +1,7 @@ //IGNORE_TEST:CPU_REFLECTION: -profile cs_5_0 -entry computeMain -target cpp //DISABLED_TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute //TEST:SIMPLE(filecheck=DXIL):-target dxbc-assembly -entry computeMain -profile cs_5_1 +//TEST:SIMPLE(filecheck=CUDA):-target cuda -entry computeMain -profile cs_5_1 //TEST:SIMPLE(filecheck=CHECK):-target spirv-assembly -entry computeMain -profile cs_5_1 -emit-spirv-via-glsl //DISABLED_TEST(compute):COMPARE_COMPUTE_EX:-cuda -compute @@ -34,6 +35,9 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) // CHECK: %[[N4]] = OpLoad %int %[[N3]] // CHECK: %{{.*}} = OpAccessChain %[[P1]] %[[B0]] %int_{{.*}} // CHECK: OpStore %{{.*}} %[[N4]] + // CUDA: Array<RWStructuredBuffer<int>> g_aoa_0; + // CUDA: globalParams_0->g_aoa_0[index_0 >> int(2)].GetDimensions + // CUDA: _S1[index_0 >> int(2)] int index = int(dispatchThreadID.x); int baseIndex = index >> 2; @@ -50,4 +54,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) innerIndex = int(bufferCount - 1); } outputBuffer[index] = buffer[innerIndex]; -}
\ No newline at end of file +} |
