Home
last modified time | relevance | path

Searched refs:custom_allocator (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dxla_platform_info.cc82 se::DeviceMemoryAllocator* custom_allocator = nullptr; in XlaPlatformInfoFromDevice() local
103 custom_allocator = in XlaPlatformInfoFromDevice()
108 xla_device_metadata, custom_allocator); in XlaPlatformInfoFromDevice()
115 if (platform_info.custom_allocator()) { in GetAllocator()
116 return platform_info.custom_allocator(); in GetAllocator()
Dxla_platform_info.h48 se::DeviceMemoryAllocator* custom_allocator() const { in custom_allocator() function
/external/vulkan-validation-layers/layers/
Dobject_lifetime_validation.h192 bool custom_allocator = (pAllocator != nullptr); in CreateObject() local
196 pNewObjNode->status = custom_allocator ? OBJSTATUS_CUSTOM_ALLOCATOR : OBJSTATUS_NONE; in CreateObject()
249 bool custom_allocator = pAllocator != nullptr; in ValidateDestroyObject() local
258 …if (allocated_with_custom && !custom_allocator && expected_custom_allocator_code != kVUIDUndefined… in ValidateDestroyObject()
266 …} else if (!allocated_with_custom && custom_allocator && expected_default_allocator_code != kVUIDU… in ValidateDestroyObject()
/external/openscreen/third_party/valijson/
DBUILD.gn26 "src/include/valijson/internal/custom_allocator.hpp",
/external/fmtlib/doc/
Dapi.rst351 fmt::basic_memory_buffer<char, fmt::inline_buffer_size, custom_allocator>;
357 std::basic_string<char, std::char_traits<char>, custom_allocator>;
359 custom_string vformat(custom_allocator alloc, fmt::string_view format_str,
367 inline custom_string format(custom_allocator alloc,
/external/flatbuffers/docs/source/
DCppUsage.md140 - `native_custom_alloc`:"custom_allocator" (on a table or struct): When using the
151 table mytable(native_custom_alloc:"custom_allocator") {
155 with custom_allocator defined before flatbuffers.h is included, as:
157 template <typename T> struct custom_allocator : public std::allocator<T> {
163 typedef custom_allocator<U> other;
174 custom_allocator() throw() {}
176 custom_allocator(const custom_allocator<U>&) throw() {}