summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2024-08-06 18:24:04 -0400
committerGitHub <noreply@github.com>2024-08-06 18:24:04 -0400
commit366c9b4526b4b940c8aafce459d6784211e862bc (patch)
tree9f717b50095895c9471f8e4cc3a49850c0455892 /tests
parent33e9de0ef2aa04e7681769104dbe524f8b68525a (diff)
Fix auto-diff synthesized method naming conventions (#4714)
* Fix auto-diff synthesized method naming conventions * Update tests; remove unused var
Diffstat (limited to 'tests')
-rw-r--r--tests/autodiff/reverse-checkpoint-1.slang2
-rw-r--r--tests/autodiff/reverse-checkpoint-2.slang2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/autodiff/reverse-checkpoint-1.slang b/tests/autodiff/reverse-checkpoint-1.slang
index beb983b3b..517297013 100644
--- a/tests/autodiff/reverse-checkpoint-1.slang
+++ b/tests/autodiff/reverse-checkpoint-1.slang
@@ -29,7 +29,7 @@ float f(int p, float x)
// Check that there are no calls to primal_g in bwd_f.
// CHECK: void s_bwd_f_{{[0-9]+}}
-// CHECK-NOT: {{[_a-zA-Z0-9]+}} = s_bwd_primal_g_{{[0-9]+}}
+// CHECK-NOT: {{[_a-zA-Z0-9]+}} = s_primal_ctx_g_{{[0-9]+}}
// CHECK: return
diff --git a/tests/autodiff/reverse-checkpoint-2.slang b/tests/autodiff/reverse-checkpoint-2.slang
index 68ff62176..8a7262aa4 100644
--- a/tests/autodiff/reverse-checkpoint-2.slang
+++ b/tests/autodiff/reverse-checkpoint-2.slang
@@ -29,7 +29,7 @@ float f(int p, float x)
// Check that there are no calls to primal_g in bwd_f.
// CHECK: void s_bwd_prop_f_{{[0-9]+}}
-// CHECK: {{[_a-zA-Z0-9]+}} = s_bwd_primal_g_{{[0-9]+}}
+// CHECK: {{[_a-zA-Z0-9]+}} = s_primal_ctx_g_{{[0-9]+}}
// CHECK: return