Home
last modified time | relevance | path

Searched refs:Petsc (Results 1 – 25 of 87) sorted by relevance

1234

/petsc/include/petsc/private/
H A Dhashmap.h38 typedef kh_##HashT##_t *Petsc##HashT; \
39 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Create(Petsc##HashT *); \
40 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##CreateWithSize(PetscInt, Petsc##HashT *); \
41 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Destroy(Petsc##HashT *); \
42 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Reset(Petsc##HashT); \
43 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Duplicate(Petsc##HashT, Petsc##HashT *); \
44 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Clear(Petsc##HashT); \
45 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Resize(Petsc##HashT, PetscInt); \
46 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##GetSize(Petsc##HashT, PetscInt *); \
47 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##GetCapacity(Petsc##HashT, PetscInt *); \
[all …]
H A Dhashset.h38 typedef khash_t(HashT) *Petsc##HashT; \
40 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Create(Petsc##HashT *ht) \
48 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Destroy(Petsc##HashT *ht) \
58 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Reset(Petsc##HashT ht) \
66 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Duplicate(Petsc##HashT ht, Petsc##HashT *h…
82 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Update(Petsc##HashT ht, Petsc##HashT hta) \
95 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Clear(Petsc##HashT ht) \
103 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Resize(Petsc##HashT ht, PetscInt nb) \
113 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##GetSize(Petsc##HashT ht, PetscInt *n) \
122 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##GetCapacity(Petsc##HashT ht, PetscInt *n) \
[all …]
H A Dcupmblasinterface.hpp8 namespace Petsc 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 Dcupminterface.hpp10 namespace Petsc 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 Dcupmsolverinterface.hpp6 namespace Petsc 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 Dmatdensecupmimpl.h22 namespace Petsc
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; \
130 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MatDenseCUPMGetArrayRead_C; \
131 using ::Petsc::mat::cupm::impl::MatDense_CUPM_Base<T>::MatDenseCUPMGetArrayWrite_C; \
[all …]
H A Dcupmobject.hpp20 namespace Petsc 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 Dblas_cyclic_cupm.cxx4 namespace Petsc 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/include/petsc/private/cpp/
H A Dtype_traits.hpp8 namespace Petsc namespace
150 static_assert(!::Petsc::util::detail::is_derived_petsc_object_impl<_p_PetscObject>::value, "");
152 static_assert(!::Petsc::util::detail::is_derived_petsc_object_impl<int>::value, "");
153 static_assert(!::Petsc::util::detail::is_derived_petsc_object_impl<Empty>::value, "");
154 static_assert(!::Petsc::util::detail::is_derived_petsc_object_impl<IntHdr>::value, "");
157 static_assert(::Petsc::util::detail::is_derived_petsc_object_impl<CPetscObject>::value, "");
158 static_assert(::Petsc::util::detail::is_derived_petsc_object_impl<CxxPetscObject>::value, "");
159 static_assert(::Petsc::util::detail::is_derived_petsc_object_impl<CxxDerivedPetscObject>::value, ""…
191 PETSC_NODISCARD inline constexpr Petsc::util::remove_const_t<T> &PetscRemoveConstCast(T &object) no… in PetscRemoveConstCast()
193 return const_cast<Petsc::util::remove_const_t<T> &>(object); in PetscRemoveConstCast()
[all …]
H A Dfunctional.hpp10 namespace Petsc namespace
134 …static inline auto gobblefn(TupleT &&tuple, Petsc::util::index_sequence<idx...>) PETSC_DECLTYPE_NO…
136 …C_DECLTYPE_NOEXCEPT_AUTO_RETURNS(gobblefn(std::forward_as_tuple(args...), Petsc::util::make_index_…
/petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/
H A Dpetsc4py.i559 %petsc4py_errt( Petsc , Error , PetscErrorCode )
561 %petsc4py_numt( Petsc , Int , PetscInt , PETSC_INT , 0 )
562 %petsc4py_numt( Petsc , Real , PetscReal , PETSC_REAL , 0 )
563 %petsc4py_numt( Petsc , Complex , PetscComplex , PETSC_COMPLEX , 0 )
564 %petsc4py_numt( Petsc , Scalar , PetscScalar , PETSC_SCALAR , 0 )
566 %petsc4py_comm( Petsc, Comm , MPI_Comm , MPI_COMM , MPI_COMM_NULL )
568 %petsc4py_objt( Petsc , Object , PetscObject , PETSC_OBJECT )
569 %petsc4py_objt( Petsc , Viewer , PetscViewer , PETSC_VIEWER )
570 %petsc4py_objt( Petsc , Random , PetscRandom , PETSC_RANDOM )
571 %petsc4py_objt( Petsc , DeviceContext , PetscDeviceContext , PETSC_DEVICE_CONTEXT )
[all …]
/petsc/src/vec/is/sf/impls/basic/cupm/hip/
H A Dsfcupm.hip.cxx9 namespace Petsc 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 Dsfcupm.cu6 namespace Petsc namespace
28 using PetscSFCuda = ::Petsc::sf::cupm::impl::SfInterface<::Petsc::device::cupm::DeviceType::CUDA>;
/petsc/src/vec/vec/impls/mpi/cupm/
H A Dvecmpicupm.hpp7 namespace Petsc namespace
92 …plate class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecMPI_CUPM<::Petsc
96 …plate class PETSC_SINGLE_LIBRARY_VISIBILITY_INTERNAL ::Petsc::vec::cupm::impl::VecMPI_CUPM<::Petsc
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx12 namespace Petsc namespace
25 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_COPY_HTOH) == 0, "");
26 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_COPY_DTOH) == 1, "");
27 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_COPY_HTOD) == 2, "");
28 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_COPY_DTOD) == 3, "");
29 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_COPY_AUTO) == 4, "");
103 class MemoryMap : public Petsc::RegisterFinalizeable<MemoryMap> {
105 using map_type = Petsc::UnorderedMap<void *, PointerAttributes, PointerHash>;
112 friend class Petsc::RegisterFinalizeable<MemoryMap>;
H A Ddevice.cxx16 using namespace Petsc::device;
321 struct DefaultDeviceType : public Petsc::RegisterFinalizeable<DefaultDeviceType> {
521 …pes[type], defaultDeviceId, PetscBools[defaultView], PetscDeviceInitTypes[Petsc::util::to_underlyi… in PetscDeviceInitializeTypeFromOptions_Private()
659 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_HOST) == 0, ""); in PetscDeviceInitializeFromOptions_Internal()
660 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_CUDA) == 1, ""); in PetscDeviceInitializeFromOptions_Internal()
661 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_HIP) == 2, ""); in PetscDeviceInitializeFromOptions_Internal()
662 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_SYCL) == 3, ""); in PetscDeviceInitializeFromOptions_Internal()
663 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_MAX) == 4, ""); in PetscDeviceInitializeFromOptions_Internal()
/petsc/src/vec/vec/tutorials/
H A Dex1.java3 Petsc.InitializeNoArguments(); in main()
11 Petsc.Finalize(); in main()
/petsc/src/sys/objects/device/impls/host/
H A Dhostdevice.hpp5 namespace Petsc namespace
14 class Device : public ::Petsc::device::impl::DeviceBase<Device> {
/petsc/src/sys/objects/device/impls/sycl/
H A Dsycldevice.hpp7 namespace Petsc namespace
19 class Device : public ::Petsc::device::impl::DeviceBase<Device> {
/petsc/src/sys/objects/device/util/
H A Ddevicereg.c74 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_INIT_NONE) == 0, "");
75 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_INIT_LAZY) == 1, "");
76 static_assert(Petsc::util::to_underlying(PETSC_DEVICE_INIT_EAGER) == 2, "");
/petsc/src/ksp/ksp/utils/lmvm/dense/cd_cupm/
H A Dcd_cupm.cxx5 namespace Petsc namespace
101 using ::Petsc::device::cupm::impl::UpperTriangular; in MatUpperTriangularSolveInPlace_CUPM()
102 using ::Petsc::device::cupm::DeviceType; in MatUpperTriangularSolveInPlace_CUPM()
128 using ::Petsc::device::cupm::impl::UpperTriangular; in MatUpperTriangularSolveInPlaceCyclic_CUPM()
129 using ::Petsc::device::cupm::DeviceType; in MatUpperTriangularSolveInPlaceCyclic_CUPM()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmdevice.hpp9 namespace Petsc namespace
25 class Device : public ::Petsc::device::impl::DeviceBase<Device<T>>, impl::Interface<T> {
H A Dcupmthrustutility.hpp11 namespace Petsc namespace
71 const auto timer = ::Petsc::device::cupm::detail::PetscLogGpuTimer{}; \
/petsc/src/mat/impls/dense/seq/cupm/hip/
H A Dmatseqdensehip.hip.cxx3 using namespace Petsc::mat::cupm;
4 using Petsc::device::cupm::DeviceType;
/petsc/src/mat/impls/dense/seq/cupm/cuda/
H A Dmatseqdensecuda.cu3 using namespace Petsc::mat::cupm;
4 using Petsc::device::cupm::DeviceType;

1234