Commit Graph

22 Commits

Author SHA1 Message Date
Kjetil Olsen Lye
e9cf89fd23 Added copy functions from GPU smart pointers 2025-02-05 11:29:22 +01:00
Tobias Meyer Andersen
f993fe9361 fix include error, rename test_smart_pointers.cu
This pr fixes an include error caused by a bad
rebase. I also change the name of the test for
gpu smart pointers to start with "gpu" to make it
easier to run all gpu tests at once
2025-02-04 16:03:05 +01:00
Kjetil Olsen Lye
c7e2ad39c2 Added utility class to hold a GPU resource (stream, event, graph, etc). 2025-02-04 14:53:31 +01:00
Kjetil Olsen Lye
db440df072 Added convenience functions for smart pointers on GPU and a view to pointers. 2025-02-04 10:26:48 +01:00
Tobias Meyer Andersen
fa02d686d4 refactor move_to_gpu 2025-01-13 11:19:43 +01:00
Tobias Meyer Andersen
6c29cf6962 use less template arguments 2025-01-08 15:08:50 +01:00
Tobias Meyer Andersen
b48479b7e4 fix piecewiselineartwophasematerial tests
Fixing the test required avoid accesses to a
mutable gpu buffer on the CPU. Removing function
from the GPUBuffer and GPUView class also required
a minor adjustment in the GPUView test.
2025-01-08 08:35:21 +01:00
Kjetil Olsen Lye
119282bd6d Merge pull request #5674 from multitalentloes/add_gpudilu_mixed_precision
Add gpudilu mixed precision
2025-01-07 14:57:17 +01:00
Tobias Meyer Andersen
7f86a6724a remove unnecessary template argument 2025-01-07 08:49:36 +01:00
Tobias Meyer Andersen
ca52fd33b3 add test for brineco2pvt 2025-01-03 08:33:08 +01:00
Tobias Meyer Andersen
78e01ad06f Add tests for gpu pvt classes 2024-11-08 14:41:34 +01:00
Tobias Meyer Andersen
1d49eadd15 add mixed precision option to gpudilu class 2024-10-14 16:17:56 +02:00
Kjetil Olsen Lye
1c6dc24ad7 Merge pull request #5597 from multitalentloes/add_gpu_ad_and_gpu_linint_tests
add ad & TwoPhaseMaterial gpu instantiation tests
2024-09-30 10:35:20 +02:00
Tobias Meyer Andersen
9bdc361368 fix cmake and cuda bugs 2024-09-25 13:43:00 +02:00
Tobias Meyer Andersen
c288f7f0fb fix typo 2024-09-25 11:24:34 +02:00
Tobias Meyer Andersen
f9b595e078 address feedback to two_phase_material test 2024-09-25 11:23:02 +02:00
Tobias Meyer Andersen
88b05a4126 address feedback to AD test 2024-09-25 11:23:02 +02:00
Tobias Meyer Andersen
e6b6add193 Add tests for AD objects and TwoPhaseMaterial
The tests verify that these objects can be used
inside of GPU kernels
2024-09-25 11:22:27 +02:00
Kjetil Olsen Lye
3161a986a2 SolverAdapter is now more explicit on its communicator/MPI dependence. This fixes the MPI issues with CUDA/HIP/GPUISTL that were introduced with the GhostLastMatrixAdapter. 2024-09-24 10:03:23 +02:00
Tobias Meyer Andersen
d925d62bf2 refactor cusparsematrixoperations 2024-08-23 11:15:18 +02:00
Tobias Meyer Andersen
d2681b26ed refactor opm_cuda_safe_call 2024-08-23 11:12:13 +02:00
Tobias Meyer Andersen
85a9ad2b61 refactor cuistl folder names 2024-08-22 15:32:21 +02:00