petsc-master 2020-10-29
Report Typos and Errors

MatDenseCUDARestoreArray

Restore access to the CUDA buffer inside a dense matrix previously obtained with MatDenseCUDAGetArray().

Synopsis

#include "petscmat.h"  
PetscErrorCode MatDenseCUDARestoreArray(Mat A, PetscScalar **a)
Not Collective

Input Parameters

A - the matrix
array - the GPU array in column major order

Notes

See Also

MatDenseCUDAGetArray(), MatDenseCUDARestoreArrayWrite(), MatDenseCUDAGetArrayWrite(), MatDenseCUDARestoreArrayRead(), MatDenseCUDAGetArrayRead()

Level

developer

Location

src/mat/impls/dense/mpi/mpidense.c

Implementations

MatDenseCUDARestoreArray_MPIDenseCUDA in src/mat/impls/dense/mpi/mpidense.c
MatDenseCUDARestoreArray_SeqDenseCUDA in src/mat/impls/dense/seq/cuda/densecuda.cu

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages