| /petsc/include/petsc/private/cpp/ |
| H A D | utility.hpp | 124 using base_type = std::pair<T, U>; typedef in Petsc::util::detail::compressed_pair_impl 127 using base_type::base_type; 128 using typename base_type::first_type; 129 using typename base_type::second_type; 131 first_type &first() noexcept { return static_cast<base_type &>(*this).first; } in first() 132 const first_type &first() const noexcept { return static_cast<const base_type &>(*this).first; } in first() 134 second_type &second() noexcept { return static_cast<base_type &>(*this).second; } in second() 135 …const second_type &second() const noexcept { return static_cast<const base_type &>(*this).second; } in second() 141 using base_type = T; typedef in Petsc::util::detail::compressed_pair_impl 144 using base_type::base_type; [all …]
|
| H A D | object_pool.hpp | 56 using base_type = RegisterFinalizeable<PoolAllocator>; typedef in Petsc::memory::PoolAllocator 57 friend base_type; 334 using base_type = RegisterFinalizeable<ObjectPool<T, Constructor>>; typedef in Petsc::ObjectPool 362 friend base_type;
|
| /petsc/src/snes/tests/ |
| H A D | ex18f90.F90 | 11 type, public :: base_type type 16 end type base_type 19 class(base_type) :: this 31 type, public, extends(base_type) :: extended_type 56 class(base_type) :: ctx ! yes, this should be base_type in order to handle all 90 class(base_type), pointer :: base
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmallocator.hpp | 34 using base_type = memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>; typedef in Petsc::device::cupm::HostAllocator 35 using real_value_type = typename base_type::real_value_type; 36 using size_type = typename base_type::size_type; 37 using value_type = typename base_type::value_type; 85 using base_type = memory::impl::SegmentedMemoryPoolAllocatorBase<PetscType>; typedef in Petsc::device::cupm::DeviceAllocator 86 using real_value_type = typename base_type::real_value_type; 87 using size_type = typename base_type::size_type; 88 using value_type = typename base_type::value_type;
|
| H A D | cupmdevice.hpp | 27 PETSC_DEVICE_IMPL_BASE_CLASS_HEADER(base_type, Device<T>);
|
| H A D | cupmdevice.cxx | 256 PetscCall(base_type::PetscOptionDeviceAll(comm, initType, initId, initView)); in initialize()
|
| /petsc/src/sys/objects/device/impls/host/ |
| H A D | hostdevice.hpp | 16 PETSC_DEVICE_IMPL_BASE_CLASS_HEADER(base_type, Device);
|
| H A D | hostdevice.cxx | 21 PetscCall(base_type::PetscOptionDeviceView(PetscOptionsObject, defaultView, nullptr)); in initialize()
|
| /petsc/src/sys/objects/device/impls/sycl/ |
| H A D | sycldevice.sycl.cxx | 143 PetscCall(base_type::PetscOptionDeviceInitialize(PetscOptionsObject, &initType, nullptr)); in initialize() 144 …PetscCall(base_type::PetscOptionDeviceSelect(PetscOptionsObject, "Which sycl device to use? Pass -… in initialize() 146 PetscCall(base_type::PetscOptionDeviceView(PetscOptionsObject, &view, &flg)); in initialize()
|
| H A D | sycldevice.hpp | 21 PETSC_DEVICE_IMPL_BASE_CLASS_HEADER(base_type, Device);
|
| /petsc/include/petsc/private/ |
| H A D | matdensecupmimpl.h | 194 using base_type = device::cupm::impl::RestoreableArray<T, MT, MA>; variable 213 …:MatrixArray<MT, MA>::MatrixArray(PetscDeviceContext dctx, Mat m) noexcept : base_type{dctx}, m_{m} in MatrixArray() 231 …T, D>::MatrixArray<MT, MA>::MatrixArray(MatrixArray &&other) noexcept : base_type{std::move(other)… in MatrixArray() 375 using base_type = MatrixIteratorBase<Iterator, StridedIndexFunctor<iter_difference_t<Iterator>>>; 377 using difference_type = typename base_type::difference_type; 378 using iterator = typename base_type::iterator; 380 …rator(Iterator first, Iterator last, difference_type stride) noexcept : base_type{std::move(first)… in DiagonalIterator()
|
| H A D | veccupmimpl.h | 259 using base_type = device::cupm::impl::RestoreableArray<T, MT, MA>; variable 275 …:VectorArray<MT, MA>::VectorArray(PetscDeviceContext dctx, Vec v) noexcept : base_type{dctx}, v_{v} in VectorArray()
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm_impl.hpp | 77 PetscCall(base_type::VecCreate_IMPL_Private(v, nullptr, nghost)); in CreateMPICUPM_() 157 VecSetOp_CUPM(resetarray, VecResetArray_MPI, base_type::template ResetArray<PETSC_MEMTYPE_HOST>); in BindToCPU() 158 VecSetOp_CUPM(placearray, VecPlaceArray_MPI, base_type::template PlaceArray<PETSC_MEMTYPE_HOST>); in BindToCPU()
|
| H A D | vecmpicupm.hpp | 22 PETSC_VEC_CUPM_BASE_CLASS_HEADER(base_type, T, VecMPI_CUPM<T>);
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 368 using base_type = SolveCommon<SolveLU>; typedef 384 PetscCall(base_type::FactorPrepare(A, stream)); in Factor() 392 base_type::ResizeFactLwork( in Factor() 431 base_type::ResizeFactLwork( in Solve() 453 using base_type = SolveCommon<SolveCholesky>; typedef 469 PetscCall(base_type::FactorPrepare(A, stream)); in Factor() 477 base_type::ResizeFactLwork( in Factor() 530 base_type::ResizeFactLwork( in Solve() 552 using base_type = SolveCommon<SolveQR>; typedef 570 PetscCall(base_type::FactorPrepare(A, stream)); in Factor() [all …]
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 178 PetscCall(base_type::VecCreate_IMPL_Private(v, nullptr, 0, host_array)); in CreateSeqCUPM_() 334 VecSetOp_CUPM(resetarray, VecResetArray_Seq, base_type::template ResetArray<PETSC_MEMTYPE_HOST>); in BindToCPU() 335 VecSetOp_CUPM(placearray, VecPlaceArray_Seq, base_type::template PlaceArray<PETSC_MEMTYPE_HOST>); in BindToCPU() 1713 using base_type = ErrorWNormTransformBase<wnormtype>; typedef 1714 using result_type = typename base_type::result_type; 1717 using base_type::base_type; 1740 using base_type = ErrorWNormTransformBase<wnormtype>; typedef 1741 using result_type = typename base_type::result_type; 1744 using base_type::base_type;
|
| H A D | vecseqcupm.hpp | 28 PETSC_VEC_CUPM_BASE_CLASS_HEADER(base_type, T, VecSeq_CUPM<T>);
|
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmvmutils.c | 1265 MatLMVMBasisType base_type; in MatLMVMBasisGEMV() local 1267 PetscCall(MatLMVMGetUpdatedBasis(B, type, &basis, &base_type, &gamma)); in MatLMVMBasisGEMV()
|