Skip to content

Commit 2ca29f1

Browse files
author
Alberto Cabrera
committed
Extended CHECK_PRINT to all syclcompat math tests
Signed-off-by: Alberto Cabrera <[email protected]>
1 parent 1aaf6a1 commit 2ca29f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test-e2e/syclcompat/math/math_fixt.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ class UnaryOpTestLauncher : OpTestLauncher {
282282
syclcompat::wait();
283283
syclcompat::memcpy<ResultT>(&res_h_, res_, data_size_);
284284

285+
CHECK_PRINT(ResultT, res_h_, expected);
285286
CHECK(ResultT, res_h_, expected);
286287
}
287288
};
@@ -333,6 +334,7 @@ class TernaryOpTestLauncher : OpTestLauncher {
333334
syclcompat::wait();
334335
syclcompat::memcpy<ResultT>(&res_h_, res_, data_size_);
335336

337+
CHECK_PRINT(ResultT, res_h_, expected);
336338
CHECK(ResultT, res_h_, expected);
337339
};
338340
};

0 commit comments

Comments
 (0)