Home
last modified time | relevance | path

Searched refs:alloc_mem (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_allocator.cc81 void* alloc_mem = mem; in allocate() local
83 if (mem != alloc_mem) { in allocate()
84 QCHECK(mem_map_.insert({mem, alloc_mem}).second); in allocate()
86 VLOG(2) << "Allocated " << total_size << " bytes memory @" << alloc_mem in allocate()
101 auto alloc_mem = mem_map_.find(memory); in free() local
102 if (alloc_mem != mem_map_.end()) { in free()
103 memory = alloc_mem->second; in free()
104 mem_map_.erase(alloc_mem->first); in free()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_coro.c185 LLVMValueRef alloc_mem; in lp_build_coro_begin_alloc_mem() local
188 alloc_mem = LLVMBuildCall(gallivm->builder, gallivm->coro_malloc_hook, &coro_size, 1, ""); in lp_build_coro_begin_alloc_mem()
190 LLVMBuildStore(gallivm->builder, alloc_mem, alloc_mem_store); in lp_build_coro_begin_alloc_mem()
192 alloc_mem = LLVMBuildLoad(gallivm->builder, alloc_mem_store, ""); in lp_build_coro_begin_alloc_mem()
193 LLVMValueRef coro_hdl = lp_build_coro_begin(gallivm, coro_id, alloc_mem); in lp_build_coro_begin_alloc_mem()
199 LLVMValueRef alloc_mem = lp_build_coro_free(gallivm, coro_id, coro_hdl); in lp_build_coro_free_mem() local
202 alloc_mem = LLVMBuildCall(gallivm->builder, gallivm->coro_free_hook, &alloc_mem, 1, ""); in lp_build_coro_free_mem()
/external/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c238 static void *alloc_mem(size_t size) in alloc_mem() function
293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate()
302 hole_mem[i] = alloc_mem(page_size); in allocate()
388 copy = alloc_mem(copy_size); in search_mem()
/external/ltp/testcases/kernel/fs/doio/
Ddoio.c410 int alloc_mem(int nbytes);
930 alloc_mem(-1); in doio()
939 alloc_mem(-1); in doio()
947 alloc_mem(-1); in doio()
955 alloc_mem(-1); in doio()
969 alloc_mem(-1); in doio()
1048 alloc_mem(-1); in doio()
1055 alloc_mem(-1); in doio()
1077 alloc_mem(-1); in doio()
1454 alloc_mem(nbytes + wtob(1) * 2 + in do_read()
[all …]
/external/ltp/testcases/kernel/mem/mtest07/
Dmallocstress.c136 void *alloc_mem(void *threadnum) in alloc_mem() function
157 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()
/external/mesa3d/src/broadcom/simulator/
Dv3d_simulator_wrapper.cpp56 return hw->alloc_mem(min_size) == V3D_HW_ALLOC_SUCCESS; in v3d_hw_alloc_mem()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c32 static int alloc_mem(long int length, int testcase) in alloc_mem() function
71 ret = alloc_mem(LENGTH, (long)args); in child_alloc_thread()
81 int ret = alloc_mem(TESTMEM + MB, testcase); in child_alloc()