| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | kernels.hpp | 37 using value_type = T; typedef in Petsc::device::cupm::functors::plus_equals 39 …PETSC_HOSTDEVICE_DECL constexpr explicit plus_equals(value_type v = value_type{}) noexcept : v_{st… in plus_equals() 41 …PETSC_NODISCARD PETSC_HOSTDEVICE_INLINE_DECL constexpr value_type operator()(const value_type &val… in operator ()() 44 value_type v_; 50 using value_type = T; typedef in Petsc::device::cupm::functors::times_equals 52 …PETSC_HOSTDEVICE_DECL constexpr explicit times_equals(value_type v = value_type{}) noexcept : v_{s… in times_equals() 54 …PETSC_NODISCARD PETSC_HOSTDEVICE_INLINE_DECL constexpr value_type operator()(const value_type &val… in operator ()() 57 value_type v_; 63 using value_type = T; typedef in Petsc::device::cupm::functors::axpy 65 …PETSC_HOSTDEVICE_DECL constexpr explicit axpy(value_type v = value_type{}) noexcept : v_{std::move… in axpy() [all …]
|
| H A D | cupmallocator.hpp | 37 using value_type = typename base_type::value_type; typedef in Petsc::device::cupm::HostAllocator 40 static PetscErrorCode allocate(value_type **, size_type, const StreamBase<U> *) noexcept; 42 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept; 44 …static PetscErrorCode uninitialized_copy(value_type *, const value_type *, size_type, const Stream… 49 inline PetscErrorCode HostAllocator<T, P>::allocate(value_type **ptr, size_type n, const StreamBase… in allocate() 58 inline PetscErrorCode HostAllocator<T, P>::deallocate(value_type *ptr, const StreamBase<U> *) noexc… in deallocate() 67 inline PetscErrorCode HostAllocator<T, P>::uninitialized_copy(value_type *dest, const value_type *s… in uninitialized_copy() 88 using value_type = typename base_type::value_type; typedef in Petsc::device::cupm::DeviceAllocator 91 static PetscErrorCode allocate(value_type **, size_type, const StreamBase<U> *) noexcept; 93 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept; [all …]
|
| H A D | cupmcontext.hpp | 181 …me PoolType = ::Petsc::memory::SegmentedMemoryPool<typename Allocator::value_type, stream_type, Al…
|
| /petsc/include/petsc/private/cpp/ |
| H A D | object_pool.hpp | 242 using value_type = T; typedef in Petsc::ConstructorInterface 245 PetscErrorCode construct(value_type *ptr, Args &&...args) const noexcept in construct() 252 PetscErrorCode destroy(value_type *ptr) const noexcept in destroy() 262 PetscErrorCode reset(value_type *val, Args &&...args) const noexcept in reset() 271 PetscErrorCode invalidate(value_type *ptr) const noexcept in invalidate() 282 static PetscErrorCode construct_(value_type *ptr, Args &&...args) noexcept in construct_() 290 static PetscErrorCode destroy_(value_type *ptr) noexcept in destroy_() 301 PetscErrorCode reset_(value_type *val, Args &&...args) const noexcept in reset_() 308 PetscErrorCode invalidate_(value_type *ptr) const noexcept in invalidate_() 337 using value_type = T; typedef in Petsc::ObjectPool [all …]
|
| H A D | unordered_map.hpp | 66 using value_type = Value; typedef in Petsc::khash::KHashTable 70 using reference = value_type &; 71 using const_reference = const value_type &; 123 std::pair<iterator, bool> insert(const value_type &) noexcept; 124 std::pair<iterator, bool> insert(value_type &&) noexcept; 125 iterator insert(const_iterator, const value_type &) noexcept; 126 iterator insert(const_iterator, value_type &&) noexcept; 260 using internal_value_type = std::optional<value_type>; 262 using internal_value_type = value_type; 295 using value_type = conditional_const<typename table_type::value_type>; typedef in Petsc::khash::KHashTable::table_iterator [all …]
|
| H A D | utility.hpp | 32 using value_type = T;
|
| /petsc/src/sys/objects/device/impls/ |
| H A D | segmentedmempool.hpp | 302 using value_type = T; typedef in Petsc::memory::impl::MemoryBlock 329 PETSC_NODISCARD size_type bytes() const noexcept { return sizeof(value_type) * size(); } in bytes() 333 value_type *mem_{}; 576 using value_type = T; typedef 581 static PetscErrorCode allocate(value_type **, size_type, const device::StreamBase<U> *) noexcept; 583 static PetscErrorCode deallocate(value_type *, const device::StreamBase<U> *) noexcept; 585 static PetscErrorCode zero(value_type *, size_type, const device::StreamBase<U> *) noexcept; 587 …static PetscErrorCode uninitialized_copy(value_type *, const value_type *, size_type, const device… 589 static PetscErrorCode set_canary(value_type *, size_type, const device::StreamBase<U> *) noexcept; 594 inline PetscErrorCode SegmentedMemoryPoolAllocatorBase<T>::allocate(value_type **ptr, size_type n, … in allocate() [all …]
|
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 166 using value_type = typename map_type::value_type; typedef in MapTester 173 std::function<value_type(void)> generator; 233 const auto check_all_reinsert = [&](value_type &key_value) { in test_insert() 271 value_type kv{key, value}; in test_insert() 283 …contains_expected_items = [&](std::function<PetscErrorCode(std::vector<value_type> &)> fill_map, s… in test_insert() 318 [&](std::vector<value_type> &key_value_pairs) in test_insert() 334 value_type saved_value; in test_insert() 339 [&](std::vector<value_type> &key_value_pairs) in test_insert() 626 PETSC_NODISCARD std::vector<value_type> make_key_values(std::size_t size = 100) const noexcept in make_key_values() 628 std::vector<value_type> v(size); in make_key_values()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 153 Kokkos::MinFirstLoc<PetscReal, PetscInt>::value_type result; in VecMin_SeqKokkos() 160 … KOKKOS_LAMBDA(const PetscInt &i, Kokkos::MinFirstLoc<PetscReal, PetscInt>::value_type &lupdate) { in VecMin_SeqKokkos() 177 Kokkos::MaxFirstLoc<PetscReal, PetscInt>::value_type result; in VecMax_SeqKokkos() 184 … KOKKOS_LAMBDA(const PetscInt &i, Kokkos::MaxFirstLoc<PetscReal, PetscInt>::value_type &lupdate) { in VecMax_SeqKokkos() 290 typedef PetscScalar value_type[]; typedef 310 KOKKOS_INLINE_FUNCTION void operator()(TransposeDotTag, const size_type i, value_type sum) const in operator ()() 316 KOKKOS_INLINE_FUNCTION void operator()(ConjugateDotTag, const size_type i, value_type sum) const in operator ()() 325 …KOKKOS_INLINE_FUNCTION void join(TransposeDotTag, value_type dst, const value_type src) const { jo… in join() 326 …KOKKOS_INLINE_FUNCTION void join(ConjugateDotTag, value_type dst, const value_type src) const { jo… in join() 328 KOKKOS_INLINE_FUNCTION void init(TransposeDotTag, value_type sum) const { init(sum); } in init() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | cupmobject.hpp | 125 using value_type = PetscScalar; typedef in Petsc::device::cupm::impl::RestoreableArray 126 using pointer_type = value_type *; 141 value_type *ptr_ = nullptr;
|
| H A D | veccupmimpl.h | 53 using value_type = T; member 56 value_type *&device; 57 value_type *&host;
|
| /petsc/src/sys/objects/cxx/memory/ |
| H A D | object_pool.cxx | 151 …d(this->pool().begin(), this->pool().end(), align, [](const pool_type::value_type &pair, const ali… in find_align_() 156 …d(this->pool().begin(), this->pool().end(), align, [](const pool_type::value_type &pair, const ali… in find_align_()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1765 using value_type = typename ErrorWNormTransformBase<wnormtype>::result_type; typedef 1767 …PETSC_NODISCARD PETSC_HOSTDEVICE_INLINE_DECL value_type operator()(const value_type &lhs, const va… in operator ()() 1983 using value_type = thrust::tuple<PetscScalar, PetscScalar>; typedef 1985 …PETSC_NODISCARD PETSC_HOSTDEVICE_INLINE_DECL value_type operator()(const value_type &lhs, const va… in operator ()()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 448 const std::vector<CxxData::upstream_type::value_type> upstream_copy( in PetscDeviceContextSyncClearMap_Internal()
|