Home
last modified time | relevance | path

Searched refs:MemoryType (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Dmemory_pool_win.h22 template<class MemoryType> struct MemoryPoolItem;
24 template<class MemoryType>
32 MemoryType memoryType;
33 MemoryPoolItem<MemoryType>* base;
36 template<class MemoryType>
42 MemoryPoolItemPayload<MemoryType>* payload;
45 template<class MemoryType>
50 int32_t PopMemory(MemoryType*& memory);
51 int32_t PushMemory(MemoryType*& memory);
61 MemoryPoolItem<MemoryType>* CreateMemory();
[all …]
Dmemory_pool_posix.h21 template<class MemoryType>
26 int32_t PopMemory(MemoryType*& memory);
27 int32_t PushMemory(MemoryType*& memory);
43 std::list<MemoryType*> _memoryPool;
50 template<class MemoryType>
51 MemoryPoolImpl<MemoryType>::MemoryPoolImpl(int32_t initialPoolSize) in MemoryPoolImpl()
60 template<class MemoryType>
61 MemoryPoolImpl<MemoryType>::~MemoryPoolImpl() in ~MemoryPoolImpl()
69 template<class MemoryType>
70 int32_t MemoryPoolImpl<MemoryType>::PopMemory(MemoryType*& memory) in PopMemory()
[all …]
Dmemory_pool.h26 template<class MemoryType>
40 int32_t PopMemory(MemoryType*& memory);
41 int32_t PushMemory(MemoryType*& memory);
46 MemoryPoolImpl<MemoryType>* _ptrImpl;
49 template<class MemoryType>
50 MemoryPool<MemoryType>::MemoryPool(int32_t initialPoolSize) in MemoryPool()
52 _ptrImpl = new MemoryPoolImpl<MemoryType>(initialPoolSize); in MemoryPool()
55 template<class MemoryType>
56 MemoryPool<MemoryType>::~MemoryPool() in ~MemoryPool()
61 template<class MemoryType> int32_t
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types.cc50 const std::function<Status(const Edge*, MemoryType, MemoryType)>& fn) { in ProcessMemoryTypes()
60 typedef std::unordered_map<Endpoint, MemoryType, EndpointHash, EndpointEq> in ProcessMemoryTypes()
82 MemoryType sm = gtl::FindWithDefault(out, {e->src()->id(), e->src_output()}, in ProcessMemoryTypes()
84 MemoryType dm = gtl::FindWithDefault(inp, {e->dst()->id(), e->dst_input()}, in ProcessMemoryTypes()
96 device_type, g, [](const Edge* e, MemoryType sm, MemoryType dm) { in ValidateMemoryTypes()
155 MemoryType sm; in EnsureMemoryTypes()
156 MemoryType dm; in EnsureMemoryTypes()
160 device_type, g, [&edges](const Edge* e, MemoryType sm, MemoryType dm) { in EnsureMemoryTypes()
213 const Node* n, int index, MemoryType* memory_type) { in MemoryTypeForOutput()
Dmemory_types.h44 const Node* n, int index, MemoryType* memory_type);
Dpartitioning_utils.cc105 MemoryType mtype = (device_type == "TPU" || device_type == "XLA_CPU" || in UpdateArgAndRetvalMetadata()
120 MemoryType mtype = (device_type == "TPU" || device_type == "XLA_CPU" || in UpdateArgAndRetvalMetadata()
Dmemory_types_test.cc78 MemoryType memory_type; in TEST()
Dconstant_folding.cc502 MemoryType memory_type = output_mvec[i]; in ReplaceTensorWithConstant()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h601 enum MemoryType { enum
610 Memory(void* b, MemoryType t) : base(b), type(t) {} in Memory()
613 MemoryType type;
627 const MemoryType mem_type_; // Type of memory allocation.
707 static void DeallocateLocalMemory(void* memory, size_t size, MemoryType type);
Dpersistent_memory_allocator.cc998 MemoryType type) { in DeallocateLocalMemory()
/external/tensorflow/tensorflow/core/framework/
Dtypes.h47 enum MemoryType { enum
102 typedef gtl::InlinedVector<MemoryType, 4> MemoryTypeVector;
103 typedef gtl::ArraySlice<MemoryType> MemoryTypeSlice;
480 MemoryType MTypeFromDType(const DataType dtype);
486 MemoryType MTypeFromDTypeIntsOnDevice(const DataType dtype);
Dmemory_types.cc72 MemoryType MTypeFromDType(const DataType dtype) { in MTypeFromDType()
77 MemoryType MTypeFromDTypeIntsOnDevice(const DataType dtype) { in MTypeFromDTypeIntsOnDevice()
Dop_kernel.h755 MemoryType input_memory_type(int index) const;
759 MemoryType output_memory_type(int index) const;
905 const TensorShape& output_shape, MemoryType output_memory_type,
1609 inline MemoryType OpKernelContext::input_memory_type(int index) const { in input_memory_type()
1621 inline MemoryType OpKernelContext::output_memory_type(int index) const { in output_memory_type()
Dop_kernel.cc530 const TensorShape& output_shape, MemoryType output_memory_type, in forward_input()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp263 struct MemoryType struct
265 MemoryType (deUint32 index_, const VkMemoryType& type_) in MemoryType() argument
271 MemoryType (void) in MemoryType() function
1045 const vector<MemoryType>& memoryTypes, in MemoryHeap()
1097 const vector<MemoryType> m_memoryTypes;
1151 pair<MemoryType, VkDeviceSize> memoryTypeMaxSizePair; in allocateRandom()
1155 vector<pair<MemoryType, VkDeviceSize> > memoryTypes; in allocateRandom()
1165 const MemoryType type = m_memoryTypes[memoryTypeNdx]; in allocateRandom()
1237 …memoryTypeMaxSizePair = rng.choose<pair<MemoryType, VkDeviceSize> >(memoryTypes.begin(), memoryTyp… in allocateRandom()
1240 const MemoryType type = memoryTypeMaxSizePair.first; in allocateRandom()
[all …]
DvktMemoryAllocationTests.cpp533 struct MemoryType in iterate() struct
550 vector<MemoryType> types; in iterate()
607 const MemoryType type = in iterate()
710 const MemoryType& memoryType = m_rng.choose<MemoryType>(heap.types.begin(), heap.types.end()); in iterate()
/external/v8/src/wasm/
Dc-api.cc155 return MemoryType::make(limits); in GetImportExportType()
620 struct implement<MemoryType> {
624 MemoryType::~MemoryType() = default;
626 auto MemoryType::make(Limits limits) -> own<MemoryType> { in make()
627 return own<MemoryType>( in make()
628 seal<MemoryType>(new (std::nothrow) MemoryTypeImpl(limits))); in make()
631 auto MemoryType::copy() const -> own<MemoryType> { in copy()
632 return MemoryType::make(limits()); in copy()
635 auto MemoryType::limits() const -> const Limits& { return impl(this)->limits; } in limits()
637 auto ExternType::memory() -> MemoryType* { in memory()
[all …]
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc171 MemoryType memory_type; in InsertNodes()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc106 typedef absl::flat_hash_map<NodePort, MemoryType> MemoryTypeMap;
/external/angle/third_party/vulkan-headers/src/include/vulkan/
Dvulkan.hpp13601 struct MemoryType;
44615 struct MemoryType struct
44617 VULKAN_HPP_CONSTEXPR MemoryType( VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags_ = {}, in MemoryType() function
44623 MemoryType( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in MemoryType() function
44628 MemoryType& operator=( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
44630 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryType const *>(&rhs); in operator =() argument
44645 auto operator<=>( MemoryType const& ) const = default;
44647 bool operator==( MemoryType const& rhs ) const VULKAN_HPP_NOEXCEPT in operator ==() argument
44653 bool operator!=( MemoryType const& rhs ) const VULKAN_HPP_NOEXCEPT in operator !=() argument
44663 …static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different …
[all …]
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp11484 struct MemoryType;
41214 struct MemoryType struct
41226 bool operator==( MemoryType const& rhs ) const in operator ==() argument
41232 bool operator!=( MemoryType const& rhs ) const in operator !=() argument
41241 …static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different …
41242 …static_assert( std::is_standard_layout<MemoryType>::value, "struct wrapper is not a standard layou…
47280 … && ( memcmp( memoryTypes, rhs.memoryTypes, VK_MAX_MEMORY_TYPES * sizeof( vk::MemoryType ) ) == 0 ) in operator ==()
47292 vk::MemoryType memoryTypes[VK_MAX_MEMORY_TYPES];