Skip to content

Commit

Permalink
Adjust BasicOps.C
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed Dec 15, 2024
1 parent cce1045 commit 331e948
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,7 +133,7 @@ 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;
Expand All @@ -155,7 +155,7 @@ float func5(float x, float y) {
//CHECK: void func5_grad(float x, float y, float *_d_x, float *_d_y, double &_final_error) {
//CHECK-NEXT: double _ret_value0 = 0.;
//CHECK-NEXT: float _t0 = y;
//CHECK-NEXT: y = std::sin(x);
//CHECK-NEXT: y = {{(std::sin|__builtin_sinf)\(.*\);}}
//CHECK-NEXT: _ret_value0 = y * y;
//CHECK-NEXT: {
//CHECK-NEXT: *_d_y += 1 * y;
Expand Down

0 comments on commit 331e948

Please sign in to comment.