Home
last modified time | relevance | path

Searched refs:d_v (Results 1 – 1 of 1) sorted by relevance

/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp36 PetscScalar *d_v; // pointer to the matrix on the GPU member
217 if (!mcu->d_user_alloc) PetscCallCUPM(cupmFreeAsync(mcu->d_v, stream)); in SetPreallocation_()
220 mcu->d_v = user_device_array; in SetPreallocation_()
226 PetscCall(PetscCUPMMallocAsync(&mcu->d_v, size, stream)); in SetPreallocation_()
227 PetscCall(PetscCUPMMemsetAsync(mcu->d_v, 0, size, stream)); in SetPreallocation_()
249 if (!mcu->d_v) PetscCall(SetPreallocation(m, dctx, nullptr)); in HostToDevice_()
256 const auto dest = mcu->d_v; in HostToDevice_()
292 const auto src = MatCUPMCast(m)->d_v; in DeviceToHost_()
1035 if (!mcu->d_user_alloc) PetscCallCUPM(cupmFreeAsync(mcu->d_v, stream)); in Reset()
1177 } else if (!MatCUPMCast(m)->d_v) { in GetArray()
[all …]