summaryrefslogtreecommitdiff
path: root/tests/compute/switch-stmt.slang
diff options
context:
space:
mode:
authorHarsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com>2025-09-03 21:36:43 +0530
committerGitHub <noreply@github.com>2025-09-03 16:06:43 +0000
commitbf607e2f3fa183e9a2b18c7a98438a05247d6ed3 (patch)
tree1316303f0aec9e3b5b3bb26607a85059408f4f17 /tests/compute/switch-stmt.slang
parentf5fae010863c0c836a5a80e659673bcd58010dba (diff)
Fix#8085: Batch-9: Enable cuda tests (#8269)
Diffstat (limited to 'tests/compute/switch-stmt.slang')
-rw-r--r--tests/compute/switch-stmt.slang3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compute/switch-stmt.slang b/tests/compute/switch-stmt.slang
index b8411a9ad..d7c7cb446 100644
--- a/tests/compute/switch-stmt.slang
+++ b/tests/compute/switch-stmt.slang
@@ -1,4 +1,5 @@
//TEST(compute):COMPARE_COMPUTE: -shaderobj
+//TEST(compute):COMPARE_COMPUTE: -cuda -shaderobj
// Test that `swith` statement works
@@ -39,4 +40,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
int inVal = outputBuffer[tid];
int outVal = test(inVal);
outputBuffer[tid] = outVal;
-} \ No newline at end of file
+}