Searched refs:mem_pool (Results 1 – 7 of 7) sorted by relevance
65 void *mem_pool; member130 return cmdbuf->mem_pool + offset; in nine_queue_get()204 return cmdbuf->mem_pool + offset; in nine_queue_alloc()238 ctx->pool[i].mem_pool = MALLOC(NINE_QUEUE_SIZE); in nine_queue_create()239 if (!ctx->pool[i].mem_pool) in nine_queue_create()256 if (ctx->pool[i].mem_pool) in nine_queue_create()257 FREE(ctx->pool[i].mem_pool); in nine_queue_create()276 FREE(ctx->pool[i].mem_pool); in nine_queue_delete()
65 auto mem_pool = std::unique_ptr<CachedSharedMemory>(new CachedSharedMemory(port, val_in_GB)); in CreateArena() local66 RETURN_IF_NOT_OK(mem_pool->Init()); in CreateArena()67 *out = std::move(mem_pool); in CreateArena()
100 obstack_init (&htab->mem_pool); in hash_init()112 obstack_free (&htab->mem_pool, NULL); in hash_destroy()280 void *keycopy = obstack_copy (&htab->mem_pool, key, keylen); in hash_insert_entry()310 void *keycopy = obstack_copy (&htab->mem_pool, key, keylen); in hash_set_value()
33 struct obstack mem_pool; /* Memory pool holding the keys. */ member
77 std::shared_ptr<MemoryPool> mem_pool() const { return mem_pool_; } in mem_pool() function
31 std::shared_ptr<MemoryPool> global_pool = GlobalContext::Instance()->mem_pool(); in DeviceTensor()
67 std::shared_ptr<MemoryPool> global_pool = GlobalContext::Instance()->mem_pool(); in Tensor()