From 082c48d96c5f8f6b4f560d705fe731da14409cb4 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 29 Mar 2023 17:05:07 -0700 Subject: Update checkpoint policy to make obvious recompute decisions. (#2753) * Update checkpoint policy to make obvious recompute decisions. Also adds an optimization to fold updateElement chains on the same array or struct into a single makeArray or makeStruct. * Bug fixes around array types with different int typed count. * change test. * Fix. --------- Co-authored-by: Yong He --- tests/autodiff/array-param.slang.expected.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/autodiff/array-param.slang.expected.txt (limited to 'tests/autodiff/array-param.slang.expected.txt') diff --git a/tests/autodiff/array-param.slang.expected.txt b/tests/autodiff/array-param.slang.expected.txt new file mode 100644 index 000000000..f38cc1080 --- /dev/null +++ b/tests/autodiff/array-param.slang.expected.txt @@ -0,0 +1,2 @@ +type: float +3.0 -- cgit v1.2.3