summaryrefslogtreecommitdiff
path: root/tests/compute/struct-autodiff-default-init.slang
diff options
context:
space:
mode:
authorHarsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com>2025-08-25 10:49:37 +0530
committerGitHub <noreply@github.com>2025-08-25 05:19:37 +0000
commit53fa12e1b522a229006595001421caa62e22eba8 (patch)
tree372d00c31eedd92bd833d6258c5425e368d35abe /tests/compute/struct-autodiff-default-init.slang
parent67cf1403496ed80edd26c2e0368ddd851e09103a (diff)
Fix#8082: Batch-6: Enable cuda tests (#8266)
Diffstat (limited to 'tests/compute/struct-autodiff-default-init.slang')
-rw-r--r--tests/compute/struct-autodiff-default-init.slang4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/compute/struct-autodiff-default-init.slang b/tests/compute/struct-autodiff-default-init.slang
index 3d6548125..12ca97c61 100644
--- a/tests/compute/struct-autodiff-default-init.slang
+++ b/tests/compute/struct-autodiff-default-init.slang
@@ -4,12 +4,14 @@
//TEST:SIMPLE(filecheck=METAL): -target metal -entry computeMain -stage compute
//TEST:SIMPLE(filecheck=CPP): -target cpp -entry computeMain -stage compute
//TEST:SIMPLE(filecheck=SPIRV): -target spirv -entry computeMain -stage compute
+//TEST:SIMPLE(filecheck=CUDA): -target cuda -entry computeMain -stage compute
// HLSL: computeMain
// GLSL: main
// METAL: computeMain
// CPP: computeMain
// SPIRV: OpEntryPoint
+// CUDA: computeMain
struct PowActivationEx : IDifferentiable
{
@@ -22,4 +24,4 @@ void computeMain()
{
PowActivationEx args;
return_value[0] = args.power;
-} \ No newline at end of file
+}