summaryrefslogtreecommitdiff
path: root/tests/compute/struct-autodiff-default-init.slang
diff options
context:
space:
mode:
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
+}