Searched refs:PointerAttributes (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/objects/device/interface/ |
| H A D | memory.cxx | 47 struct PointerAttributes { struct 54 constexpr PointerAttributes() = default; argument 55 constexpr PointerAttributes(PetscMemType, PetscObjectId, std::size_t) noexcept; 57 bool operator==(const PointerAttributes &) const noexcept; 66 inline constexpr PointerAttributes::PointerAttributes(PetscMemType mtype_, PetscObjectId id_, std::… in PointerAttributes() function in PointerAttributes 68 inline bool PointerAttributes::operator==(const PointerAttributes &other) const noexcept in operator ==() 83 inline bool PointerAttributes::contains(const void *ptr_begin, const void *ptr) const noexcept in contains() 105 using map_type = Petsc::UnorderedMap<void *, PointerAttributes, PointerHash>; 201 const auto tmp = PointerAttributes(mtype, newid, size); in PetscDeviceRegisterMemory_Private() 224 …PetscCheck(PointerAttributes(mtype, old.id, size) == old, PETSC_COMM_SELF, PETSC_ERR_LIB, "Pointer… in PetscDeviceRegisterMemory_Private()
|