Skip to content

Commit

Permalink
Adjust BasicOps.C
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed Sep 16, 2024
1 parent 04a5d4c commit 137133b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ErrorEstimation/BasicOps.C
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ float func4(float x, float y) { return std::pow(x, y); }

//CHECK: void func4_grad(float x, float y, float *_d_x, float *_d_y, double &_final_error) {
//CHECK-NEXT: double _ret_value0 = 0.;
//CHECK-NEXT: _ret_value0 = std::pow(x, y);
//CHECK-NEXT: _ret_value0 = {{(std::pow|__builtin_powf)\(.*\);}}
//CHECK-NEXT: {
//CHECK-NEXT: float _r0 = 0.F;
//CHECK-NEXT: float _r1 = 0.F;
//CHECK-NEXT: clad::custom_derivatives{{(::std)?}}::pow_pullback(x, y, 1, &_r0, &_r1);
//CHECK-NEXT: clad::custom_derivatives{{clad::custom_derivatives(::std)?(::pow_pullback|::__builtin_powf_pullback)\(.*\);}}
//CHECK-NEXT: *_d_x += _r0;
//CHECK-NEXT: *_d_y += _r1;
//CHECK-NEXT: }
Expand Down

0 comments on commit 137133b

Please sign in to comment.