opm-simulators/opm/simulators/linalg/cuistl/detail
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
..
cublas_safe_call.hpp Documentation fix. 2023-05-09 15:20:34 +02:00
cublas_wrapper.hpp Added CuVector with tests. 2023-05-12 08:23:18 +02:00
CuBlasHandle.cpp Added cublasWarnIfError/CUBLAS_WARN_IF_ERROR. 2023-05-09 15:20:34 +02:00
CuBlasHandle.hpp Added handles for cusparse and cublas. 2023-05-09 15:20:34 +02:00
cuda_check_last_error.hpp Fixed documentation and formatting. 2023-05-09 15:20:34 +02:00
cuda_safe_call.hpp Add HIP support for AMD GPUs 2024-05-06 15:56:53 +02:00
CuMatrixDescription.hpp Added a CuSparse matrix wrapper. 2023-05-12 08:23:18 +02:00
cusparse_constants.hpp Added a CuSparse matrix wrapper. 2023-05-12 08:23:18 +02:00
cusparse_matrix_operations.cu Add CUDA implementation of the DILU 2024-01-25 14:26:38 +01:00
cusparse_matrix_operations.hpp Add CUDA implementation of the DILU 2024-01-25 14:26:38 +01:00
cusparse_safe_call.hpp Added cusparseWarnIfError and CUSPARSE_WARN_IF_ERROR. 2023-05-09 15:20:34 +02:00
cusparse_wrapper.hpp Formatting fixes. 2023-05-12 08:23:18 +02:00
CuSparseHandle.cpp Added cusparseWarnIfError and CUSPARSE_WARN_IF_ERROR. 2023-05-09 15:20:34 +02:00
CuSparseHandle.hpp Removed unused using statement. 2023-05-09 15:20:34 +02:00
CuSparseResource_impl.hpp Removed exceptions from destructors. 2023-05-12 08:23:18 +02:00
CuSparseResource.hpp Added a CuSparse matrix wrapper. 2023-05-12 08:23:18 +02:00
fix_zero_diagonal.hpp Cleaned up fiz_zero_diagonal.hpp and added documentation. 2023-05-30 11:50:02 +02:00
has_function.hpp Expose CuISTL solver in FlexibleSolver. 2023-05-31 15:03:31 +02:00
preconditioner_should_call_post_pre.hpp Documentation update. 2023-05-31 13:11:39 +02:00
safe_conversion.hpp Fixed typo in documentation. 2023-05-15 11:32:25 +02:00
vector_operations.cu Add HIP support for AMD GPUs 2024-05-06 15:56:53 +02:00
vector_operations.hpp remove usage of thrust 2024-05-03 12:52:27 +02:00