Searched refs:ARENA_SIZE (Results 1 – 4 of 4) sorted by relevance
24 ifdef ARENA_SIZE25 CXXFLAGS += -DTENSOR_ARENA_SIZE=$(ARENA_SIZE)
18 the new model. This is done by using the `ARENA_SIZE` option when running26 ARENA_SIZE=<tensor arena size in bytes> \34 `ARENA_SIZE`: The size of the memory to be allocated (in bytes) by the
217 #define ARENA_SIZE (256 << 10) /* 256KiB */ macro220 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)616 address = mmap(NULL, ARENA_SIZE, PROT_READ|PROT_WRITE, in new_arena()620 address = malloc(ARENA_SIZE); in new_arena()643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()739 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \913 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()954 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()1102 munmap((void *)ao->address, ARENA_SIZE); in PyObject_Free()[all …]
910 #define ARENA_SIZE (256 << 10) /* 256KB */ macro913 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)923 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)924 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE1304 address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE); in new_arena()1422 (uintptr_t)p - arenas[arenaindex].address < ARENA_SIZE && in address_in_range()1519 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()1528 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()1773 (void *)ao->address, ARENA_SIZE); in insert_to_freepool()2720 narenas, ARENA_SIZE); in _PyObject_DebugMallocStats()[all …]