Home
last modified time | relevance | path

Searched refs:RefCountType (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dkernel_refcount.h27 enum RefCountType { kDynamicRefCount, kStaticRefCount }; enum
52 void SetKernelRefCountInfo(int index, size_t size, RefCountType reftype);
53 void set_reftype(RefCountType reftype) { reftype_ = reftype; } in set_reftype()
54 RefCountType reftype() const { return reftype_; } in reftype()
58 RefCountType reftype_;
Dkernel_refcount.cc24 void KernelRefCount::SetKernelRefCountInfo(int index, size_t size, RefCountType reftype) { in SetKernelRefCountInfo()
/third_party/mindspore/tests/ut/cpp/pre_activate/mem_reuse/
Dkernel_ref_test.cc29 using mindspore::memreuse::RefCountType;
65 RefCountType ref_count_type = memreuse::kDynamicRefCount; in TEST_F()
Dmem_reuse_test.cc221 RefCountType ref_count_type_in = mindspore::memreuse::kDynamicRefCount; in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h42 using RefCountType = std::atomic<size_t>;
43 using PoolMap = StringMap<RefCountType>;
44 using PoolMapEntry = StringMapEntry<RefCountType>;
/third_party/boost/boost/phoenix/function/
Dlazy_list.hpp374 mutable RefCountType refC;
820 void *p = std::malloc( sizeof(RefCountType) ); in xnil_helper()
821 *((RefCountType*)p) = 1; in xnil_helper()
879 mutable RefCountType refC;
Dlazy_reuse.hpp81 mutable RefCountType refC;
Dlazy_operator.hpp77 typedef unsigned int RefCountType; typedef
/third_party/boost/boost/wave/util/
Dflex_string.hpp1174 typedef typename flex_string_details::get_unsigned<E>::result RefCountType; typedef in boost::wave::util::CowString
1197 RefCountType GetRefs() const in GetRefs()
1201 BOOST_ASSERT(static_cast<RefCountType>(*d.begin()) != 0); in GetRefs()
1205 RefCountType& Refs() in Refs()
1209 return reinterpret_cast<RefCountType&>(*d.begin()); in Refs()
1235 if (s.GetRefs() == (std::numeric_limits<RefCountType>::max)()) in CowString()
1276 if (rhs.GetRefs() == (std::numeric_limits<RefCountType>::max)()) in operator =()