mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 16:57:25 -06:00
e9d6b326cc
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. |
||
---|---|---|
.. | ||
test_converttofloatadapter.cpp | ||
test_cublas_handle.cpp | ||
test_cublas_safe_call.cpp | ||
test_cuda_check_last_error.cpp | ||
test_cuda_safe_call.cpp | ||
test_cujac.cpp | ||
test_cuowneroverlapcopy.cpp | ||
test_cuseqilu0.cpp | ||
test_cusparse_handle.cpp | ||
test_cuSparse_matrix_operations.cpp | ||
test_cusparse_safe_call.cpp | ||
test_cusparsematrix.cpp | ||
test_cuVector_operations.cpp | ||
test_cuvector.cpp | ||
test_safe_conversion.cpp | ||
test_solver_adapter.cpp |