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/performance | |
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/performance')
-rw-r--r-- | test/performance/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/client.cpp b/test/performance/client.cpp index e6930203..e0c99fa9 100644 --- a/test/performance/client.cpp +++ b/test/performance/client.cpp @@ -279,7 +279,7 @@ void Client<T,U>::PerformanceTest(Arguments<U> &args, const SetMetric set_sizes) TimeResult time_cublas; try { time_cublas = TimedExecution(args.num_runs, args, buffers_cuda, queue, run_reference3_, "cuBLAS"); - } catch (std::runtime_error e) { } + } catch (std::runtime_error &e) { } CUDAToHost(args, buffers_cuda, buffers_host, buffers_out_); HostToDevice(args, buffers, buffers_host, queue, buffers_out_); timings.push_back(std::pair<std::string, TimeResult>("cuBLAS", time_cublas)); |