SyTen

◆ handle_or_insert()

void syten::Cuda::CudaAllocator::handle_or_insert ( std::int16_t  device,
void *  ptr,
std::int16_t  idx 
)
inlineprivate

Inserts a pointer ptr into the sized free list of device device at size index idx and handles any resulting merges.

References alloc_exp2(), block_pointers, freelist, max_size, std::swap(), and SYTEN_ASSERT.

Referenced by free().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: