opm-simulators
Loading...
Searching...
No Matches
Opm::gpuistl::HypreDeviceDataArrays Struct Reference

GPU device memory arrays for HYPRE operations with GPU backend. More...

#include <HypreDataStructures.hpp>

Public Attributes

HYPRE_Intncols_device = nullptr
 Mirrors host data arrays.
 
HYPRE_BigIntrows_device = nullptr
 
HYPRE_BigIntcols_device = nullptr
 
HYPRE_Introw_indexes_device = nullptr
 
HYPRE_BigIntindices_device = nullptr
 
HYPRE_Realvector_buffer_device = nullptr
 Device buffer for vector operations Used when input type and backend are different, for transferring values between host and device.
 
HYPRE_Realmatrix_buffer_device = nullptr
 Device buffer for matrix values, only needed for CPU input + GPU backend.
 

Detailed Description

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.

Member Data Documentation

◆ matrix_buffer_device

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.

◆ vector_buffer_device

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.


The documentation for this struct was generated from the following file: