mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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. |
||
---|---|---|
.. | ||
cublas_safe_call.hpp | ||
cublas_wrapper.hpp | ||
CuBlasHandle.cpp | ||
CuBlasHandle.hpp | ||
cuda_check_last_error.hpp | ||
cuda_safe_call.hpp | ||
CuMatrixDescription.hpp | ||
cusparse_constants.hpp | ||
cusparse_matrix_operations.cu | ||
cusparse_matrix_operations.hpp | ||
cusparse_safe_call.hpp | ||
cusparse_wrapper.hpp | ||
CuSparseHandle.cpp | ||
CuSparseHandle.hpp | ||
CuSparseResource_impl.hpp | ||
CuSparseResource.hpp | ||
fix_zero_diagonal.hpp | ||
has_function.hpp | ||
preconditioner_should_call_post_pre.hpp | ||
safe_conversion.hpp | ||
vector_operations.cu | ||
vector_operations.hpp |