Home
last modified time | relevance | path

Searched refs:allocated_ptr (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.cc89 void* allocated_ptr = base_allocator_->AllocateRaw(alignment, num_bytes); in AllocateRaw() local
90 if (allocated_ptr == nullptr) return allocated_ptr; in AllocateRaw()
93 void* rv = static_cast<char*>(allocated_ptr) + MASK_BYTES; in AllocateRaw()
96 InitMask(stream_exec_, allocated_ptr, before_mask); in AllocateRaw()
99 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()
101 static_cast<char*>(allocated_ptr) + req_size - MASK_BYTES, in AllocateRaw()
166 void* allocated_ptr = base_allocator_->AllocateRaw(alignment, num_bytes); in AllocateRaw() local
167 if (allocated_ptr == nullptr) return allocated_ptr; in AllocateRaw()
170 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()
174 se::DeviceMemoryBase{static_cast<float*>(allocated_ptr), req_size}}; in AllocateRaw()
[all …]
/external/jemalloc_new/src/
Dandroid_je_iterate.c58 uintptr_t allocated_ptr = first_ptr + bin_size * bit; in je_iterate() local
59 if (allocated_ptr >= end_ptr) { in je_iterate()
62 callback(allocated_ptr, bin_size, arg); in je_iterate()
/external/v8/src/base/
Dlazy-instance.h131 static void Construct(void* allocated_ptr) { new (allocated_ptr) T(); } in Construct()