Skip to content

Commit

Permalink
Fix Gradient/Gradients test on i586
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailMihov committed Mar 19, 2024
1 parent 147da0e commit 32cc57a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/Gradient/Gradients.C
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// RUN: ./Gradients.out | FileCheck -check-prefix=CHECK-EXEC %s

//CHECK-NOT: {{.*error|warning|note:.*}}
// XFAIL: target={{i586.*}}

#include "clad/Differentiator/Differentiator.h"
#include <cmath>
Expand Down Expand Up @@ -293,7 +292,7 @@ double f_cond4(double x, double y) {

//CHECK: void f_cond4_grad(double x, double y, clad::array_ref<double> _d_x, clad::array_ref<double> _d_y) {
//CHECK-NEXT: int _d_i = 0;
//CHECK-NEXT: clad::array<double> _d_arr(2UL);
//CHECK-NEXT: clad::array<double> _d_arr({{2U|2UL}});
//CHECK-NEXT: bool _cond0;
//CHECK-NEXT: double _t0;
//CHECK-NEXT: int i = 0;
Expand Down Expand Up @@ -695,7 +694,7 @@ float running_sum(float* p, int n) {
}

// CHECK: void running_sum_grad(float *p, int n, clad::array_ref<float> _d_p, clad::array_ref<int> _d_n) {
// CHECK-NEXT: unsigned long _t0;
// CHECK-NEXT: unsigned {{int|long}} _t0;
// CHECK-NEXT: int _d_i = 0;
// CHECK-NEXT: int i = 0;
// CHECK-NEXT: clad::tape<float> _t1 = {};
Expand Down

0 comments on commit 32cc57a

Please sign in to comment.