Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 867) sorted by relevance

12345678910>>...35

/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc51 MemoryLogTensorAllocation allocation; in RecordTensorAllocation() local
52 allocation.set_step_id(step_id); in RecordTensorAllocation()
53 allocation.set_kernel_name(kernel_name); in RecordTensorAllocation()
54 tensor.FillDescription(allocation.mutable_tensor()); in RecordTensorAllocation()
55 OutputToLog(allocation); in RecordTensorAllocation()
80 MemoryLogRawAllocation allocation; in RecordRawAllocation() local
81 allocation.set_step_id(step_id); in RecordRawAllocation()
82 allocation.set_operation(operation); in RecordRawAllocation()
83 allocation.set_num_bytes(static_cast<int64>(num_bytes)); in RecordRawAllocation()
84 allocation.set_ptr(reinterpret_cast<uintptr_t>(ptr)); in RecordRawAllocation()
[all …]
/external/pcre/dist2/testdata/
Dtestoutput8-32-213 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-8-413 Memory allocation (code space): 25
24 Memory allocation (code space): 35
39 Memory allocation (code space): 33
54 Memory allocation (code space): 45
64 Memory allocation (code space): 11
76 Memory allocation (code space): 13
89 Memory allocation (code space): 13
98 Memory allocation (code space): 13
107 Memory allocation (code space): 17
117 Memory allocation (code space): 26
[all …]
Dtestoutput8-16-313 Memory allocation (code space): 32
24 Memory allocation (code space): 48
39 Memory allocation (code space): 46
54 Memory allocation (code space): 50
64 Memory allocation (code space): 14
76 Memory allocation (code space): 18
89 Memory allocation (code space): 18
98 Memory allocation (code space): 18
107 Memory allocation (code space): 24
117 Memory allocation (code space): 34
[all …]
Dtestoutput8-16-413 Memory allocation (code space): 32
24 Memory allocation (code space): 48
39 Memory allocation (code space): 46
54 Memory allocation (code space): 50
64 Memory allocation (code space): 14
76 Memory allocation (code space): 18
89 Memory allocation (code space): 18
98 Memory allocation (code space): 18
107 Memory allocation (code space): 24
117 Memory allocation (code space): 34
[all …]
Dtestoutput8-8-313 Memory allocation (code space): 21
24 Memory allocation (code space): 30
39 Memory allocation (code space): 28
54 Memory allocation (code space): 43
64 Memory allocation (code space): 9
76 Memory allocation (code space): 11
89 Memory allocation (code space): 11
98 Memory allocation (code space): 11
107 Memory allocation (code space): 15
117 Memory allocation (code space): 22
[all …]
Dtestoutput8-32-413 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-32-313 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-16-213 Memory allocation (code space): 24
24 Memory allocation (code space): 38
39 Memory allocation (code space): 36
54 Memory allocation (code space): 46
64 Memory allocation (code space): 10
76 Memory allocation (code space): 14
89 Memory allocation (code space): 14
98 Memory allocation (code space): 14
107 Memory allocation (code space): 20
117 Memory allocation (code space): 26
[all …]
Dtestoutput8-8-213 Memory allocation (code space): 17
24 Memory allocation (code space): 25
39 Memory allocation (code space): 23
54 Memory allocation (code space): 41
64 Memory allocation (code space): 7
76 Memory allocation (code space): 9
89 Memory allocation (code space): 9
98 Memory allocation (code space): 9
107 Memory allocation (code space): 13
117 Memory allocation (code space): 18
[all …]
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc132 XRTBufferAllocation::XRTBufferAllocation(const se::DeviceMemoryBase& allocation, in XRTBufferAllocation() argument
135 : size_(allocation.size()), in XRTBufferAllocation()
136 allocation_(allocation), in XRTBufferAllocation()
158 const se::DeviceMemoryBase& XRTBufferAllocation::allocation() { in allocation() function in tensorflow::XRTBufferAllocation
185 XRTTupleAllocation** allocation) { in CreateAndTransfer() argument
201 *allocation = new XRTTupleAllocation(device_ordinal, allocator, in CreateAndTransfer()
204 (*allocation) in CreateAndTransfer()
211 int device_ordinal, XRTTupleAllocation** allocation) { in CreateFromBuffer() argument
214 *allocation = new XRTTupleAllocation(device_ordinal, allocator, in CreateFromBuffer()
217 (*allocation) in CreateFromBuffer()
[all …]
Dxrt_state.h47 XRTBufferAllocation(const se::DeviceMemoryBase& allocation,
53 const se::DeviceMemoryBase& allocation();
93 XRTTupleAllocation** allocation);
98 XRTTupleAllocation** allocation);
107 XRTTupleAllocation** allocation,
114 XRTTupleAllocation* allocation; member
130 XRTTupleAllocation** allocation);
135 XRTTupleAllocation** allocation);
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc422 if (result.allocation() == nullptr) { in GetUniqueSlice()
434 if (result.allocation() == nullptr) { in GetUniqueSlice()
498 BufferAllocation* allocation = &allocations_.back(); in NewEmptyAllocation() local
499 return allocation; in NewEmptyAllocation()
504 BufferAllocation* allocation = NewEmptyAllocation(size, buffer.color()); in NewAllocation() local
505 AddAssignment(allocation, buffer, /*offset=*/0, size); in NewAllocation()
506 allocation->peak_buffers_.push_back(&buffer); in NewAllocation()
507 return allocation; in NewAllocation()
511 void BufferAssignment::AddAssignment(BufferAllocation* allocation, in AddAssignment() argument
516 CHECK(allocation->is_reusable() || allocation->assigned_buffers().empty()) in AddAssignment()
[all …]
/external/expat/tests/
Dmemcheck.c46 void * allocation; member
67 entry->allocation = malloc(size); in tracking_malloc()
68 if (entry->allocation == NULL) { in tracking_malloc()
84 return entry->allocation; in tracking_malloc()
93 if (entry->allocation == ptr) { in find_allocation()
154 entry->allocation = realloc(ptr, size); in tracking_realloc()
155 if (entry->allocation == NULL) { in tracking_realloc()
171 entry->allocation = realloc(ptr, size); in tracking_realloc()
172 if (entry->allocation == NULL) { in tracking_realloc()
174 entry->allocation = ptr; in tracking_realloc()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dbuffer_info_util.cc26 for (const BufferAllocation& allocation : buffer_assignment.Allocations()) { in CreateBufferInfosFromBufferAssignment() local
27 if (allocation.is_thread_local()) { in CreateBufferInfosFromBufferAssignment()
28 buffer_infos.push_back(BufferInfo::MakeOnStackBuffer(allocation.size())); in CreateBufferInfosFromBufferAssignment()
29 } else if (allocation.is_constant()) { in CreateBufferInfosFromBufferAssignment()
30 buffer_infos.push_back(BufferInfo::MakeConstant(allocation.size())); in CreateBufferInfosFromBufferAssignment()
31 } else if (allocation.is_entry_computation_parameter()) { in CreateBufferInfosFromBufferAssignment()
33 /*size=*/allocation.size(), in CreateBufferInfosFromBufferAssignment()
34 /*param_number=*/allocation.parameter_number())); in CreateBufferInfosFromBufferAssignment()
36 buffer_infos.push_back(BufferInfo::MakeTempBuffer(allocation.size())); in CreateBufferInfosFromBufferAssignment()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h95 if (input.allocation != nullptr && in ParseTupleNode()
101 if (input.allocation == nullptr) { in ParseTupleNode()
107 XRTTupleAllocation::Lookup(rm, key, &input.allocation)); in ParseTupleNode()
154 *device_ordinal = (*element).allocation->device_ordinal(); in ParseTupleTree()
195 XRTTupleAllocation* allocation; in Compute() local
198 device_ref.device_ordinal(), &allocation)); in Compute()
202 OP_REQUIRES_OK(ctx, allocation->Intern(rm, &key)); in Compute()
294 XRTTupleAllocation* allocation; in Compute() local
297 device_ref.device_ordinal(), &allocation)); in Compute()
301 OP_REQUIRES_OK(ctx, allocation->Intern(rm, &key)); in Compute()
[all …]
/external/webrtc/webrtc/call/
Dbitrate_allocator.cc43 ObserverBitrateMap allocation = AllocateBitrates(); in OnNetworkChanged() local
44 for (const auto& kv : allocation) { in OnNetworkChanged()
88 ObserverBitrateMap allocation = AllocateBitrates(); in AddBitrateObserver() local
90 for (auto& kv : allocation) { in AddBitrateObserver()
150 ObserverBitrateMap allocation; in NormalRateAllocation() local
163 allocation[max_it->second.observer] = max_it->first; in NormalRateAllocation()
165 allocation[max_it->second.observer] = observer_allowance; in NormalRateAllocation()
171 return allocation; in NormalRateAllocation()
176 ObserverBitrateMap allocation; in LowRateAllocation() local
180 allocation[observer.first] = observer.second.min_bitrate; in LowRateAllocation()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.cc48 const BufferAllocation& allocation = buffer_assignment->GetAllocation(i); in Build() local
50 if (allocation.is_entry_computation_parameter()) { in Build()
52 } else if (allocation.is_constant()) { in Build()
76 if (allocation.maybe_live_out() || allocation.IsPreallocatedTempBuffer()) { in Build()
77 const int64 buffer_size = allocation.size(); in Build()
97 if (allocation.IsPreallocatedTempBuffer()) { in Build()
135 const BufferAllocation& allocation = buffer_assignment_->GetAllocation(i); in TearDown() local
136 se::DeviceMemoryBase buffer_address = GetDeviceAddress(allocation.index()); in TearDown()
139 if ((allocation.maybe_live_out() && in TearDown()
141 allocation.IsPreallocatedTempBuffer()) { in TearDown()
Dgpu_executable.cc207 const BufferAllocation& allocation = assignment_->GetAllocation(i); in ResolveConstantGlobals() local
208 if (allocation.is_constant()) { in ResolveConstantGlobals()
212 llvm_ir::ConstantBufferAllocationToGlobalName(allocation), in ResolveConstantGlobals()
215 << llvm_ir::ConstantBufferAllocationToGlobalName(allocation) in ResolveConstantGlobals()
220 llvm_ir::LiteralForConstantAllocation(allocation); in ResolveConstantGlobals()
226 literal.untyped_data(), allocation.size(), &global)); in ResolveConstantGlobals()
253 const BufferAllocation& allocation = assignment_->GetAllocation(i); in ExecuteOnStream() local
254 if (allocation.is_entry_computation_parameter()) { in ExecuteOnStream()
255 auto param_no = allocation.parameter_number(); in ExecuteOnStream()
257 arguments[param_no]->buffer(allocation.param_shape_index()); in ExecuteOnStream()
[all …]
/external/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp83 VmaAllocation allocation; in allocateMemoryForImage() local
84 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateMemoryForImage()
88 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForImage()
138 VmaAllocation allocation; in allocateMemoryForBuffer() local
139 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
144 result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
151 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForBuffer()
156 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in freeMemory() local
157 vmaFreeMemory(fAllocator, allocation); in freeMemory()
162 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in getAllocInfo() local
[all …]
/external/skqp/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp83 VmaAllocation allocation; in allocateMemoryForImage() local
84 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateMemoryForImage()
88 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForImage()
138 VmaAllocation allocation; in allocateMemoryForBuffer() local
139 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
144 result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
151 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForBuffer()
156 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in freeMemory() local
157 vmaFreeMemory(fAllocator, allocation); in freeMemory()
162 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in getAllocInfo() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dbuffer_assignment_util.cc22 const BufferAllocation& allocation) { in InstrForConstantBufferAllocation() argument
23 CHECK(allocation.is_constant()); in InstrForConstantBufferAllocation()
25 for (const auto& buffer_offset_pair : allocation.assigned_buffers()) { in InstrForConstantBufferAllocation()
58 const BufferAllocation& allocation) { in ConstantBufferAllocationToGlobalName() argument
59 const HloInstruction& instr = InstrForConstantBufferAllocation(allocation); in ConstantBufferAllocationToGlobalName()
68 const BufferAllocation& allocation) { in LiteralForConstantAllocation() argument
69 return InstrForConstantBufferAllocation(allocation).literal(); in LiteralForConstantAllocation()
/external/swiftshader/src/Common/
DMemory.cpp57 void *allocation; in allocateRaw() local
58 int result = posix_memalign(&allocation, alignment, bytes); in allocateRaw()
62 allocation = nullptr; in allocateRaw()
64 return allocation; in allocateRaw()
72 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in allocateRaw() local
75 allocation->block = block; in allocateRaw()
121 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in deallocate()
123 delete[] allocation->block; in deallocate()
/external/swiftshader/src/System/
DMemory.cpp57 void *allocation; in allocateRaw() local
58 int result = posix_memalign(&allocation, alignment, bytes); in allocateRaw()
62 allocation = nullptr; in allocateRaw()
64 return allocation; in allocateRaw()
72 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in allocateRaw() local
75 allocation->block = block; in allocateRaw()
121 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in deallocate()
123 delete[] allocation->block; in deallocate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp65 …de::MovePtr<Allocation> allocation = allocator.allocate(requirements, MemoryRequirement::… in createDataBuffer() local
67 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); in createDataBuffer()
69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer()
78 flushAlloc(vki, device, *allocation); in createDataBuffer()
80 *outAllocation = allocation; in createDataBuffer()
112 …de::MovePtr<Allocation> allocation = allocator.allocate(requirements, MemoryRequirement::Ho… in createColorDataBuffer() local
114 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); in createColorDataBuffer()
116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer()
126 flushAlloc(vki, device, *allocation); in createColorDataBuffer()
128 *outAllocation = allocation; in createColorDataBuffer()

12345678910>>...35