File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
enzyme/test/Integration/ReverseMode Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang++ -std=c++11 -fno-exceptions -ffast-math - O0 %s -S -emit-llvm -o - | %opt - %OPloadEnzyme %enzyme -S | %lli -
1
+ // FIXME: - O0 fails reverse mode (wrong result) https://github.com/EnzymeAD/Enzyme/pull/2370#issuecomment-3046307237
2
2
// RUN: %clang++ -std=c++11 -fno-exceptions -ffast-math -O1 %s -S -emit-llvm -o - | %opt - %OPloadEnzyme %enzyme -S | %lli -
3
3
// RUN: %clang++ -std=c++11 -fno-exceptions -ffast-math -O2 %s -S -emit-llvm -o - | %opt - %OPloadEnzyme %enzyme -S | %lli -
4
4
// RUN: %clang++ -std=c++11 -fno-exceptions -ffast-math -O3 %s -S -emit-llvm -o - | %opt - %OPloadEnzyme %enzyme -S | %lli -
@@ -42,7 +42,7 @@ void test_reverse_list() {
42
42
std::list<double > dvals = {1.0 , 1.0 , 1.0 };
43
43
44
44
double ret = __enzyme_autodiff ((void *)test_simple_list, enzyme_dup, vals, dvals);
45
- // APPROX_EQ( ret, 12., 1e-10); // TODO: FAILS
45
+ APPROX_EQ ( ret, 12 ., 1e-10 );
46
46
}
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments