Skip to content

Commit

Permalink
Build CUDA tests in CUDA CI
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Nov 19, 2022
1 parent 37cb4ca commit 2b1e438
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
cuda-toolkit-11-8 \
libp4est-dev \
libopenmpi-dev \
numdiff \
openmpi-bin \
libboost-all-dev
- name: info
Expand Down Expand Up @@ -187,9 +188,14 @@ jobs:
with:
name: linux-cuda-detailed.log
path: detailed.log
- name: build
- name: build deal.II
run: |
make -j 2
- name: build CUDA tests
run: |
make -j 2 setup_tests_cuda
cd tests/cuda
make -j2 compile_test_executables
linux-debug-intel-oneapi:
Expand Down
5 changes: 2 additions & 3 deletions tests/cuda/solver_02.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ test(Utilities::CUDA::Handle &cuda_handle)
rhs_dev.import(rhs_host, VectorOperation::insert);

LinearAlgebra::CUDAWrappers::Vector<double> solution_dev(size);
const std::array<std::string, 3> solver_names{"Cholesky",
"LU_dense",
"LU_host"};
const std::array<std::string, 3> solver_names{
{"Cholesky", "LU_dense", "LU_host"}};

for (auto solver_type : solver_names)
{
Expand Down

0 comments on commit 2b1e438

Please sign in to comment.