Home
last modified time | relevance | path

Searched refs:heap_size (Results 1 – 23 of 23) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_java.cc31 const uptr heap_size; member
33 JavaContext(jptr heap_begin, jptr heap_size) in JavaContext()
35 , heap_size(heap_size) { in JavaContext()
69 void __tsan_java_init(jptr heap_begin, jptr heap_size) { in __tsan_java_init() argument
71 DPrintf("#%d: java_init(%p, %p)\n", thr->tid, heap_begin, heap_size); in __tsan_java_init()
74 CHECK_GT(heap_size, 0); in __tsan_java_init()
76 CHECK_EQ(heap_size % kHeapAlignment, 0); in __tsan_java_init()
77 CHECK_LT(heap_begin, heap_begin + heap_size); in __tsan_java_init()
78 jctx = new(jctx_buf) JavaContext(heap_begin, heap_size); in __tsan_java_init()
99 CHECK_LE(ptr + size, jctx->heap_begin + jctx->heap_size); in __tsan_java_alloc()
[all …]
Dtsan_interface_java.h38 void __tsan_java_init(jptr heap_begin, jptr heap_size) INTERFACE_ATTRIBUTE;
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_export.c43 unsigned long map_len, heap_type, heap_size, flags; in main() local
52 heap_size = 0; in main()
77 heap_size = atoi(optarg); in main()
86 if (heap_size <= 0) { in main()
92 printf("heap_type: %ld, heap_size: %ld\n", heap_type, heap_size); in main()
94 info.heap_size = heap_size; in main()
Dionutils.h23 unsigned long heap_size; member
Dionmap_test.c92 info.heap_size = 4096; in main()
Dionutils.c94 alloc_data.len = ion_info->heap_size; in ion_export_buffer_fd()
DREADME80 heap_type: 0, heap_size: 10
/external/libcxxabi/src/
Dfallback_malloc.cpp63 typedef unsigned short heap_size; typedef
67 heap_size len; // size in units of "sizeof(heap_node)"
114 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc()
117 q->len = static_cast<heap_size>(nelems); in fallback_malloc()
159 p->len = static_cast<heap_size>( in fallback_free()
167 cp->len = static_cast<heap_size>(cp->len + p->len); in fallback_free()
188 heap_size total_free = 0; in print_free_list()
Dcxa_vector.cpp146 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2() local
147 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new2()
174 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3() local
175 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); in __cxa_vec_new3()
179 st_heap_block3 heap ( dealloc, heap_block, heap_size ); in __cxa_vec_new3()
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.cc53 return result.heap_size; in MinimumMemoryForModule()
69 return result.heap_size; in MinimumMemoryForComputation()
496 result.fragmentation_size = result.heap_size - no_frag_result.heap_size; in Finish()
564 result.heap_size = max_heap_size_; in Finish()
655 if (it->chunk_end() == result_.heap_size) { in Alloc()
671 CHECK_GT(new_end, result_.heap_size); in Alloc()
672 CHECK_LT(new_end, result_.heap_size + size); in Alloc()
673 result_.heap_size = new_end; in Alloc()
695 alloc->offset = RoundUpToNearest(result_.heap_size, alignment_); in Free()
697 AddFreeChunk(result_.heap_size, new_end - result_.heap_size); in Free()
[all …]
Dheap_simulator_test.cc817 EXPECT_EQ(0, heap.Finish().heap_size); in TEST_F()
830 EXPECT_EQ(90, heap.Finish().heap_size); in TEST_F()
847 EXPECT_EQ(40, heap.Finish().heap_size); in TEST_F()
926 EXPECT_EQ(0, result.heap_size); in TEST_F()
942 EXPECT_EQ(90, result.heap_size); in TEST_F()
970 EXPECT_EQ(40, result.heap_size); in TEST_F()
1014 EXPECT_EQ(200, result.heap_size); in TEST_F()
1056 EXPECT_EQ(25, result.heap_size); in TEST_F()
1092 EXPECT_EQ(70, result.heap_size); in TEST_F()
1129 EXPECT_EQ(151, result.heap_size); in TEST_F()
[all …]
Dheap_simulator.h64 int64 heap_size = 0; member
Dbuffer_assignment.cc1334 assignment->NewEmptyAllocation(result.heap_size, color); in AssignBuffersFromHeapSimulator()
/external/tensorflow/tensorflow/core/kernels/
Dtopk_op_gpu.h279 const int heap_size = k < num_shards ? k : num_shards;
287 for (int slot = 0; slot < heap_size; slot++) {
290 min_heap.build(heap_size);
293 for (int shard = heap_size; shard < num_shards; shard++) {
304 min_heap.replace_root({shard, entry.value}, heap_size);
315 max_heap.build(heap_size);
329 heap_size);
384 const auto heap_size = k * sizeof(Entry<T>);
386 num_shards = shared_memory_size / heap_size - 1;
/external/llvm/test/Transforms/LoopStrengthReduce/
D2009-01-13-nonconstant-stride-outside-loop.ll10 @heap_size = external global i32 ; <i32*> [#uses=1]
34 %3 = load i32, i32* @heap_size, align 4 ; <i32> [#uses=1]
/external/swiftshader/third_party/LLVM/test/Transforms/LoopStrengthReduce/
D2009-01-13-nonconstant-stride-outside-loop.ll10 @heap_size = external global i32 ; <i32*> [#uses=1]
34 %3 = load i32* @heap_size, align 4 ; <i32> [#uses=1]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/
D2009-01-13-nonconstant-stride-outside-loop.ll10 @heap_size = external global i32 ; <i32*> [#uses=1]
34 %3 = load i32, i32* @heap_size, align 4 ; <i32> [#uses=1]
/external/libdrm/amdgpu/
Damdgpu_gpu_info.c260 info->heap_size = vram_gtt_info.vram_cpu_accessible_size; in amdgpu_query_heap_info()
262 info->heap_size = vram_gtt_info.vram_size; in amdgpu_query_heap_info()
278 info->heap_size = vram_gtt_info.gtt_size; in amdgpu_query_heap_info()
Damdgpu.h401 uint64_t heap_size; member
/external/mesa3d/src/amd/common/
Dac_gpu_info.c269 info->gart_size = gtt.heap_size; in ac_query_gpu_info()
270 info->vram_size = vram.heap_size; in ac_query_gpu_info()
271 info->vram_vis_size = vram_vis.heap_size; in ac_query_gpu_info()
/external/compiler-rt/test/tsan/
Djava.h6 void __tsan_java_init(jptr heap_begin, jptr heap_size);
/external/mesa3d/src/intel/vulkan/
Danv_device.c60 anv_compute_heap_size(int fd, uint64_t *heap_size) in anv_compute_heap_size() argument
97 *heap_size = MIN2(available_ram, available_gtt); in anv_compute_heap_size()
112 uint64_t heap_size; in anv_physical_device_init_heaps() local
113 VkResult result = anv_compute_heap_size(fd, &heap_size); in anv_physical_device_init_heaps()
117 if (heap_size > (2ull << 30) && !device->supports_48bit_addresses) { in anv_physical_device_init_heaps()
126 heap_size = 2ull << 30; in anv_physical_device_init_heaps()
129 if (heap_size <= 3ull * (1ull << 30)) { in anv_physical_device_init_heaps()
136 .size = heap_size, in anv_physical_device_init_heaps()
149 const uint64_t heap_size_48bit = heap_size - heap_size_32bit; in anv_physical_device_init_heaps()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c6130 int *heap_size) { argument
6143 max_heap_push(cpi->feature_score_loc_heap, heap_size, fs_loc);