| /petsc/src/mat/tests/ |
| H A D | ex100.c | 7 Mat A, B, MA; in main() local 29 PetscCall(MatCreateMAIJ(A, dof, &MA)); in main() 30 PetscCall(MatGetLocalSize(MA, &m, &n)); in main() 31 PetscCall(MatGetSize(MA, &M, &N)); in main() 34 PetscCall(MatConvert(MA, MATSEQAIJ, MAT_INITIAL_MATRIX, &B)); in main() 36 PetscCall(MatConvert(MA, MATMPIAIJ, MAT_INITIAL_MATRIX, &B)); in main() 40 PetscCall(MatMultEqual(MA, B, 10, &flg)); in main() 43 PetscCall(MatMultAddEqual(MA, B, 10, &flg)); in main() 47 PetscCall(MatMultTransposeEqual(MA, B, 10, &flg)); in main() 51 PetscCall(MatMultTransposeAddEqual(MA, B, 10, &flg)); in main() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | cupmobject.hpp | 149 template <DeviceType T, PetscMemType MT, PetscMemoryAccessMode MA> 150 const PetscMemType RestoreableArray<T, MT, MA>::memory_type; 152 template <DeviceType T, PetscMemType MT, PetscMemoryAccessMode MA> 153 const PetscMemoryAccessMode RestoreableArray<T, MT, MA>::access_type; 159 template <DeviceType T, PetscMemType MT, PetscMemoryAccessMode MA> 160 constexpr inline RestoreableArray<T, MT, MA>::RestoreableArray(PetscDeviceContext dctx) noexcept : … in RestoreableArray() 164 template <DeviceType T, PetscMemType MT, PetscMemoryAccessMode MA> 165 inline typename RestoreableArray<T, MT, MA>::pointer_type RestoreableArray<T, MT, MA>::data() const… in data() 170 template <DeviceType T, PetscMemType MT, PetscMemoryAccessMode MA> 171 inline typename RestoreableArray<T, MT, MA>::cupm_pointer_type RestoreableArray<T, MT, MA>::cupmdat… in cupmdata() [all …]
|
| H A D | matdensecupmimpl.h | 192 template <PetscMemType MT, PetscMemoryAccessMode MA> 193 …NTERNAL MatDense_CUPM<T, D>::MatrixArray : public device::cupm::impl::RestoreableArray<T, MT, MA> { 194 using base_type = device::cupm::impl::RestoreableArray<T, MT, MA>; 212 template <PetscMemType MT, PetscMemoryAccessMode MA> 213 inline MatDense_CUPM<T, D>::MatrixArray<MT, MA>::MatrixArray(PetscDeviceContext dctx, Mat m) noexce… in MatrixArray() 216 PetscCallAbort(PETSC_COMM_SELF, D::template GetArray<MT, MA>(m, &this->ptr_, dctx)); 221 template <PetscMemType MT, PetscMemoryAccessMode MA> 222 inline MatDense_CUPM<T, D>::MatrixArray<MT, MA>::~MatrixArray() noexcept in ~MatrixArray() 225 PetscCallAbort(PETSC_COMM_SELF, D::template RestoreArray<MT, MA>(m_, &this->ptr_, this->dctx_)); in ~MatrixArray() 230 template <PetscMemType MT, PetscMemoryAccessMode MA> [all …]
|
| H A D | veccupmimpl.h | 257 template <PetscMemType MT, PetscMemoryAccessMode MA> 258 class Vec_CUPMBase<T, D>::VectorArray : public device::cupm::impl::RestoreableArray<T, MT, MA> { 259 using base_type = device::cupm::impl::RestoreableArray<T, MT, MA>; 274 template <PetscMemType MT, PetscMemoryAccessMode MA> 275 inline Vec_CUPMBase<T, D>::VectorArray<MT, MA>::VectorArray(PetscDeviceContext dctx, Vec v) noexcep… in VectorArray() 278 …PetscCallAbort(PETSC_COMM_SELF, Vec_CUPMBase<T, D>::template GetArray<MT, MA, true>(v, &this->ptr_… 283 template <PetscMemType MT, PetscMemoryAccessMode MA> 284 inline Vec_CUPMBase<T, D>::VectorArray<MT, MA>::~VectorArray() noexcept in ~VectorArray() 287 …PetscCallAbort(PETSC_COMM_SELF, Vec_CUPMBase<T, D>::template RestoreArray<MT, MA>(v_, &this->ptr_,… in ~VectorArray()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 3114 PetscInt MA, MA1; in DMPlexVecLoad_HDF5_Internal() local 3116 PetscCallMPI(MPIU_Allreduce(&mA, &MA, 1, MPIU_INT, MPI_SUM, comm)); in DMPlexVecLoad_HDF5_Internal() 3118 …heck(MA1 == MA, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Total SF root size (%" PetscInt_FMT ") != On-dis… in DMPlexVecLoad_HDF5_Internal()
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | LICENSE | 5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 488 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
| /petsc/doc/ |
| H A D | petsc.bib | 4882 number = {UCRL-MA-143182}, 6140 location = {Cambridge, MA}, 12322 publisher = {Artech House Norwood, MA}, 19444 journal = {Parallel Processing for Scientific Computing, MA Heroux, P. Raghavan, and HD 22934 address = {Reading, MA}, 24319 address = {Cambridge, MA} 24326 address = {Cambridge, MA} 24334 address = {Cambridge, MA} 24347 address = {Cambridge, MA} 24409 address = {21 Eliot Street, South Natick, MA 01760} [all …]
|