Make tests conditional on BUILD_DOUBLE
This commit is contained in:
parent
ce89398636
commit
ec2948f147
|
@ -22,6 +22,7 @@ double m[DATASIZE*DATASIZE];
|
|||
|
||||
CTEST(kernel_regress,skx_avx)
|
||||
{
|
||||
#ifdef BUILD_DOUBLE
|
||||
double norm;
|
||||
int i, j, info;
|
||||
srand(0);
|
||||
|
@ -47,4 +48,5 @@ CTEST(kernel_regress,skx_avx)
|
|||
|
||||
norm = cblas_dnrm2(DATASIZE*DATASIZE, X, 1);
|
||||
ASSERT_DBL_NEAR_TOL(0.0, norm, 1e-10);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "openblas_utest.h"
|
||||
|
||||
#ifdef BUILD_DOUBLE
|
||||
CTEST (drotmg,rotmg)
|
||||
{
|
||||
double te_d1, tr_d1;
|
||||
|
@ -204,3 +205,4 @@ CTEST(drotmg, drotmg_D1_big_D2_big_flag_zero)
|
|||
ASSERT_DBL_NEAR_TOL(tr_param[i], te_param[i], DOUBLE_EPS);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue