clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
839 stars 240 forks source link

fixed compareMatrices to use GTEST_FLOAT_EQ #245

Closed guacamoleo closed 8 years ago

guacamoleo commented 8 years ago

old gtest code was using float == float and double == double, new code uses GTEST_FLOAT_EQ(a,b) and GTEST_DOUBLE_EQ(a,b) which compares to whithin 4ulps. Better written code also reduces a lot of duplicate code.


This change is Reviewable