|
opm-simulators
|
GPU device memory arrays for HYPRE operations with GPU backend. More...
#include <HypreDataStructures.hpp>
Public Attributes | |
| HYPRE_Int * | ncols_device = nullptr |
| Mirrors host data arrays. | |
| HYPRE_BigInt * | rows_device = nullptr |
| HYPRE_BigInt * | cols_device = nullptr |
| HYPRE_Int * | row_indexes_device = nullptr |
| HYPRE_BigInt * | indices_device = nullptr |
| HYPRE_Real * | vector_buffer_device = nullptr |
| Device buffer for vector operations Used when input type and backend are different, for transferring values between host and device. | |
| HYPRE_Real * | matrix_buffer_device = nullptr |
| Device buffer for matrix values, only needed for CPU input + GPU backend. | |
GPU device memory arrays for HYPRE operations with GPU backend.
These arrays mirror the host data but reside in GPU memory. All pointers are managed manually using HYPRE's memory management functions.
| HYPRE_Real* Opm::gpuistl::HypreDeviceDataArrays::matrix_buffer_device = nullptr |
Device buffer for matrix values, only needed for CPU input + GPU backend.
Size: nnz when allocated, empty otherwise.
| HYPRE_Real* Opm::gpuistl::HypreDeviceDataArrays::vector_buffer_device = nullptr |
Device buffer for vector operations Used when input type and backend are different, for transferring values between host and device.
Size: N_owned when allocated, empty otherwise.