| /petsc/include/petsc/private/ |
| H A D | cupmblasinterface.hpp | 17 namespace impl namespace 374 using ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::cupmBlasGetErrorName; \ 376 …using cupmBlasHandle_t = typename ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::cupmBlas… 377 …using cupmBlasError_t = typename ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::cupmBlas… 378 …using cupmBlasInt_t = typename ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::cupmBlas… 379 …using cupmBlasPointerMode_t = typename ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::cupmBlas… 381 using ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::CUPMBLAS_STATUS_SUCCESS; \ 382 using ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::CUPMBLAS_STATUS_NOT_INITIALIZED; \ 383 using ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::CUPMBLAS_STATUS_ALLOC_FAILED; \ 384 using ::Petsc::device::cupm::impl::BlasInterfaceImpl<T>::CUPMBLAS_POINTER_MODE_HOST; \ [all …]
|
| H A D | cupminterface.hpp | 36 namespace impl namespace 126 using ::Petsc::device::cupm::impl::InterfaceBase<T>::type; \ 127 using ::Petsc::device::cupm::impl::InterfaceBase<T>::cupmName; \ 128 using ::Petsc::device::cupm::impl::InterfaceBase<T>::cupmNAME; \ 129 using ::Petsc::device::cupm::impl::InterfaceBase<T>::PETSC_DEVICE_CUPM; \ 130 using ::Petsc::device::cupm::impl::InterfaceBase<T>::PETSC_MEMTYPE_CUPM 444 …using cupmError_t = typename ::Petsc::device::cupm::impl::InterfaceImpl<T>::cupmError_… 445 …using cupmEvent_t = typename ::Petsc::device::cupm::impl::InterfaceImpl<T>::cupmEvent_… 446 …using cupmStream_t = typename ::Petsc::device::cupm::impl::InterfaceImpl<T>::cupmStream… 447 …using cupmDeviceProp_t = typename ::Petsc::device::cupm::impl::InterfaceImpl<T>::cupmDevice… [all …]
|
| H A D | cupmsolverinterface.hpp | 15 namespace impl namespace 227 using ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::cupmSolverGetErrorName; \ 229 …using cupmSolverHandle_t = typename ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::cupmSo… 230 …using cupmSolverError_t = typename ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::cupmSo… 231 …using cupmSolverFillMode_t = typename ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::cupmSo… 232 …using cupmSolverOperation_t = typename ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::cupmSo… 234 using ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::CUPMSOLVER_STATUS_SUCCESS; \ 235 using ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::CUPMSOLVER_STATUS_NOT_INITIALIZED; \ 236 using ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::CUPMSOLVER_STATUS_ALLOC_FAILED; \ 237 using ::Petsc::device::cupm::impl::SolverInterfaceImpl<T>::CUPMSOLVER_STATUS_INTERNAL_ERROR; \ [all …]
|
| H A D | matdensecupmimpl.h | 31 namespace impl 51 namespace impl 62 class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL MatDense_CUPM_Base : protected device::cupm::impl::C… 123 using VecSeq_CUPM = ::Petsc::vec::cupm::impl::VecSeq_CUPM<T>; \ 124 using VecMPI_CUPM = ::Petsc::vec::cupm::impl::VecMPI_CUPM<T>; \ 125 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MATSEQDENSECUPM; \ 126 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MATMPIDENSECUPM; \ 127 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MATDENSECUPM; \ 128 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MATSOLVERCUPM; \ 129 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MatDenseCUPMGetArray_C; \ [all …]
|
| H A D | cupmobject.hpp | 29 namespace impl namespace 383 using ::Petsc::device::cupm::impl::CUPMObject<T>::UseCUPMHostAlloc; \ 384 using ::Petsc::device::cupm::impl::CUPMObject<T>::GetHandles_; \ 385 using ::Petsc::device::cupm::impl::CUPMObject<T>::GetHandlesFrom_; \ 386 using ::Petsc::device::cupm::impl::CUPMObject<T>::PETSCDEVICERAND; \ 387 using ::Petsc::device::cupm::impl::CUPMObject<T>::CheckPointerMatchesMemType_
|
| /petsc/src/ksp/ksp/utils/lmvm/blas_cyclic/cupm/ |
| H A D | blas_cyclic_cupm.cxx | 13 namespace impl namespace 41 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::CUDA>::axpby(… in AXPBYCyclic_CUPM_Private() 46 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::HIP>::axpby(d… in AXPBYCyclic_CUPM_Private() 66 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::CUDA>::dmv(dc… in DMVCyclic_CUPM_Private() 71 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::HIP>::dmv(dct… in DMVCyclic_CUPM_Private() 91 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::CUDA>::dsv(dc… in DSVCyclic_CUPM_Private() 96 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::HIP>::dsv(dct… in DSVCyclic_CUPM_Private() 116 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::CUDA>::trsv(d… in TRSVCyclic_CUPM_Private() 121 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::HIP>::trsv(dc… in TRSVCyclic_CUPM_Private() 141 …PetscCall(::Petsc::device::cupm::impl::BLASCyclic<::Petsc::device::cupm::DeviceType::CUDA>::hemv(d… in HEMVCyclic_CUPM_Private() [all …]
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_pc_py.py | 72 self.impl = None 84 self.impl = None 95 impl = OptDB.getString('impl', 'MyPCNone') 96 klass = globals()[impl] 97 self.impl = klass() 101 self.impl.setup(pc) 111 self.impl.apply(pc, x, y) 115 self.impl.applySL(pc, x, y) 119 self.impl.applySR(pc, x, y) 123 self.impl.applyT(pc, x, y) [all …]
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmevent.hpp | 22 class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL CUPMEventPool : impl::Interface<T>, public RegisterF… 85 inline auto cupm_fast_event_pool() noexcept -> decltype(cupm_event_pool<T, impl::Interface<T>::cupm… in cupm_fast_event_pool() 87 return cupm_event_pool<T, impl::Interface<T>::cupmEventDisableTiming>(); in cupm_fast_event_pool() 92 inline auto cupm_timer_event_pool() noexcept -> decltype(cupm_event_pool<T, impl::Interface<T>::cup… in cupm_timer_event_pool() 94 return cupm_event_pool<T, impl::Interface<T>::cupmEventDefault>(); in cupm_timer_event_pool() 101 class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL CUPMEvent : impl::Interface<T>, public memory::PoolA… 137 static_assert(std::is_empty<impl::Interface<T>>::value, "");
|
| H A D | cupmallocator.hpp | 31 …SIBILITY_INTERNAL HostAllocator : public memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>… 34 using base_type = memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>; 82 …BILITY_INTERNAL DeviceAllocator : public memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>… 85 using base_type = memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>;
|
| H A D | cupmdevice.hpp | 25 class Device : public ::Petsc::device::impl::DeviceBase<Device<T>>, impl::Interface<T> {
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu2d/ |
| H A D | bratu2d.py | 12 def __init__(self, nx, ny, alpha, impl='python'): argument 16 if impl == 'python': 19 elif impl == 'fortran': 42 impl = OptDB.getString('impl', 'python') variable 46 appc = Bratu2D(nx, ny, alpha, impl)
|
| H A D | makefile | 23 ${MPIEXEC} ${PYTHON} bratu2d.py -impl python 33 ${MPIEXEC} ${PYTHON} bratu2d.py -impl fortran
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm.hpp | 16 namespace impl namespace 63 PetscCall(impl::VecMPI_CUPM<T>::CreateMPICUPM(comm, 0, n, N, v, PETSC_TRUE)); in VecCreateMPICUPMAsync() 73 PetscCall(impl::VecMPI_CUPM<T>::CreateMPICUPMWithArrays(comm, bs, n, N, cpuarray, gpuarray, v)); in VecCreateMPICUPMWithArrays() 92 extern template class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecMPI_CUP… 96 extern template class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecMPI_CUP…
|
| /petsc/src/mat/impls/dense/seq/cupm/cuda/ |
| H A D | matseqdensecuda.cu | 6 static constexpr impl::MatDense_Seq_CUPM<DeviceType::CUDA> cupm_mat{}; 30 PetscCall(impl::MatSolverTypeRegister_DENSECUPM<DeviceType::CUDA>()); in MatSolverTypeRegister_DENSECUDA() 44 PetscCall(impl::MatMatMultNumeric_SeqDenseCUPM_SeqDenseCUPM<DeviceType::CUDA>(A, B, C, TA, TB)); in MatMatMultNumeric_SeqDenseCUDA_SeqDenseCUDA_Internal()
|
| /petsc/src/mat/impls/dense/seq/cupm/hip/ |
| H A D | matseqdensehip.hip.cxx | 6 static constexpr impl::MatDense_Seq_CUPM<DeviceType::HIP> cupm_mat{}; 30 PetscCall(impl::MatSolverTypeRegister_DENSECUPM<DeviceType::HIP>()); in MatSolverTypeRegister_DENSEHIP() 44 PetscCall(impl::MatMatMultNumeric_SeqDenseCUPM_SeqDenseCUPM<DeviceType::HIP>(A, B, C, TA, TB)); in MatMatMultNumeric_SeqDenseHIP_SeqDenseHIP_Internal()
|
| /petsc/src/mat/impls/dense/seq/hdf5/ |
| H A D | densehdf5.c | 77 Mat_SeqDense *impl; in MatLoad_Dense_HDF5() local 80 impl = (Mat_SeqDense *)mat->data; in MatLoad_Dense_HDF5() 85 impl = (Mat_SeqDense *)implm->A->data; in MatLoad_Dense_HDF5() 87 impl->user_alloc = PETSC_FALSE; in MatLoad_Dense_HDF5()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm.hpp | 18 namespace impl namespace 185 PetscCall(impl::VecSeq_CUPM<T>::CreateSeqCUPM(comm, 0, n, v, PETSC_TRUE)); in VecCreateSeqCUPMAsync() 195 PetscCall(impl::VecSeq_CUPM<T>::CreateSeqCUPMWithBothArrays(comm, bs, n, cpuarray, gpuarray, v)); in VecCreateSeqCUPMWithArraysAsync() 206 PetscCall(impl::VecSeq_CUPM<T>::template GetArray<PETSC_MEMTYPE_DEVICE, mode>(v, a, dctx)); in VecCUPMGetArrayAsync_Private() 216 PetscCall(impl::VecSeq_CUPM<T>::template RestoreArray<PETSC_MEMTYPE_DEVICE, mode>(v, a, dctx)); in VecCUPMRestoreArrayAsync_Private() 273 PetscCall(impl::VecSeq_CUPM<T>::template PlaceArray<PETSC_MEMTYPE_DEVICE>(vin, a)); in VecCUPMPlaceArrayAsync() 282 PetscCall(impl::VecSeq_CUPM<T>::template ReplaceArray<PETSC_MEMTYPE_DEVICE>(vin, a)); in VecCUPMReplaceArrayAsync() 291 PetscCall(impl::VecSeq_CUPM<T>::template ResetArray<PETSC_MEMTYPE_DEVICE>(vin)); in VecCUPMResetArrayAsync() 302 extern template class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecSeq_CUP… 306 extern template class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecSeq_CUP…
|
| /petsc/src/vec/is/sf/impls/basic/cupm/hip/ |
| H A D | sfcupm.hip.cxx | 18 namespace impl namespace 31 using PetscSFHIP = ::Petsc::sf::cupm::impl::SfInterface<::Petsc::device::cupm::DeviceType::HIP>;
|
| /petsc/src/vec/is/sf/impls/basic/cupm/cuda/ |
| H A D | sfcupm.cu | 15 namespace impl namespace 28 using PetscSFCuda = ::Petsc::sf::cupm::impl::SfInterface<::Petsc::device::cupm::DeviceType::CUDA>;
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | makefile | 22 ${MODULE}.so: ${MODULE}.pyx ${MODULE}impl.h ${MODULE}impl.c
|
| /petsc/src/sys/objects/device/impls/host/ |
| H A D | hostcontext.cxx | 14 namespace impl namespace 68 static constexpr auto hostctx = ::Petsc::device::host::impl::DeviceContext{}; in PetscDeviceContextCreate_HOST()
|
| H A D | hostdevice.hpp | 14 class Device : public ::Petsc::device::impl::DeviceBase<Device> {
|
| /petsc/src/vec/vec/impls/mpi/cupm/cuda/ |
| H A D | vecmpicupm.cu | 7 template class impl::VecMPI_CUPM<DeviceType::CUDA>; 9 static constexpr auto VecMPI_CUDA = impl::VecMPI_CUPM<DeviceType::CUDA>{};
|
| /petsc/src/vec/vec/impls/mpi/cupm/hip/ |
| H A D | vecmpicupm.hip.cxx | 7 template class impl::VecMPI_CUPM<DeviceType::HIP>; 9 static constexpr auto VecMPI_HIP = impl::VecMPI_CUPM<DeviceType::HIP>{};
|
| /petsc/src/vec/is/sf/impls/basic/cupm/ |
| H A D | sfcupm.hpp | 16 namespace impl namespace 20 struct PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL SfInterface : device::cupm::impl::Interface<T> {
|