add macro to print results to console
This commit is contained in:
parent
9b9167e810
commit
d8e4d200f0
@ -13,6 +13,11 @@ namespace sycl = cl::sycl;
|
||||
|
||||
#define stream_hex(_val) std::hex << _val << std::dec
|
||||
|
||||
#define print_pair(_desc, _chksm, _time) \
|
||||
std::cout << _desc << "\n\t" \
|
||||
<< "\t-> Check: 0x" << stream_hex(_chksm) \
|
||||
<< "\tRuntime: " << _time << " us\n\n"
|
||||
|
||||
template <class T>
|
||||
auto matrixMultCPU(const Matrix<T> &matA, const Matrix<T> &matB) {
|
||||
Matrix<T> res(matA.rows, matB.cols);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user