opm-simulators/tests/cuistl
Tobias Meyer Andersen e9d6b326cc Add HIP support for AMD GPUs
This commits adds cmake functionality that can
hipify the cuistl framework to support AMD GPUs.

Some tests have been written as HIP does not mirror
CUDA exactly.

CONVERT_CUDA_TO_HIP is the new CMAKE argument.
CMAKE version is increased to include HIP
as a language (3.21 required).

A macro is added to create a layer of indirection
that will make only cuistl files that have been
changed rehipified.

Some BDA stuff is extracted to make sure CUDA
is not accidentally included.
2024-05-06 15:56:53 +02:00
..
test_converttofloatadapter.cpp Added conversion preconditioner. 2023-05-30 11:50:02 +02:00
test_cublas_handle.cpp Add HIP support for AMD GPUs 2024-05-06 15:56:53 +02:00
test_cublas_safe_call.cpp Added safe call macros for CUDA, CuBlas and CuSparse. 2023-05-09 15:20:34 +02:00
test_cuda_check_last_error.cpp Added error macros to check last CUDA error. 2023-05-09 15:20:34 +02:00
test_cuda_safe_call.cpp Add HIP support for AMD GPUs 2024-05-06 15:56:53 +02:00
test_cujac.cpp avoid dead stores 2023-10-27 08:59:15 +02:00
test_cuowneroverlapcopy.cpp Add classes handling correct MPI implementation 2024-04-17 13:28:30 +02:00
test_cuseqilu0.cpp Added CuSeqILU0 with the preconditioner adapter. 2023-05-30 11:49:58 +02:00
test_cusparse_handle.cpp Added handles for cusparse and cublas. 2023-05-09 15:20:34 +02:00
test_cuSparse_matrix_operations.cpp Add CUDA implementation of the DILU 2024-01-25 14:26:38 +01:00
test_cusparse_safe_call.cpp Added safe call macros for CUDA, CuBlas and CuSparse. 2023-05-09 15:20:34 +02:00
test_cusparsematrix.cpp Removed unused type variable. 2023-05-12 08:23:18 +02:00
test_cuVector_operations.cpp Combine new diagonalMV kernels into one using 2023-10-16 09:53:02 +02:00
test_cuvector.cpp Add HIP support for AMD GPUs 2024-05-06 15:56:53 +02:00
test_safe_conversion.cpp Rename to to_int and to_size_t 2023-05-12 08:23:18 +02:00
test_solver_adapter.cpp SolverAdapter now takes a reference to scalar product. 2023-05-31 16:39:45 +02:00