diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2023-05-14 11:25:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 11:25:15 +0200 |
commit | 221121b8407d5538cfed2f53973303f02810d856 (patch) | |
tree | 2040b81a268d10f8f51aa37af4d16bc3a9d74489 /test/routines/levelx/xomatcopy.hpp | |
parent | 8d2f3540e9b2081c8550d3ffb4fd53e94ca7b54f (diff) |
Add Github Actions CI (#464)
This replaces the old Travis CI builds with Github Actions that test on both Ubuntu and MacOS, with both Clang and GCC. The builds on macOS also run the tests and some other programs, on Ubuntu OpenCL is not working at the moment. Because these tests use new/different compilers, I fixed a few warnings and errors along the way.
Diffstat (limited to 'test/routines/levelx/xomatcopy.hpp')
-rw-r--r-- | test/routines/levelx/xomatcopy.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/routines/levelx/xomatcopy.hpp b/test/routines/levelx/xomatcopy.hpp index 4a93b29d..a4d98e79 100644 --- a/test/routines/levelx/xomatcopy.hpp +++ b/test/routines/levelx/xomatcopy.hpp @@ -59,7 +59,8 @@ StatusCode RunReference<half>(const Arguments<half> &args, BuffersHost<half> &bu auto a_buffer2 = HalfToFloatBuffer(buffers_host.a_mat); auto b_buffer2 = HalfToFloatBuffer(buffers_host.b_mat); auto dummy = std::vector<float>(0); - auto buffers2 = BuffersHost<float>{dummy, dummy, a_buffer2, b_buffer2, dummy, dummy, dummy}; + auto dummy_uint = std::vector<unsigned int>(0); + auto buffers2 = BuffersHost<float>{dummy, dummy, a_buffer2, b_buffer2, dummy, dummy, dummy, dummy_uint}; auto args2 = Arguments<float>(); args2.a_size = args.a_size; args2.b_size = args.b_size; args2.a_ld = args.a_ld; args2.b_ld = args.b_ld; args2.m = args.m; args2.n = args.n; |