Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/c10/cuda/
H A DCUDACachingAllocator.cpp827 int cudaMalloc_count{0}; member
2644 p.pool->owner_PrivatePool->cudaMalloc_count++; in alloc_block()
2692 p.pool->owner_PrivatePool->cudaMalloc_count++; in alloc_block()
2789 if (it->second->cudaMalloc_count == 0) { in release_cached_blocks()
2836 TORCH_INTERNAL_ASSERT(pool->owner_PrivatePool->cudaMalloc_count > 0); in release_block()
2837 pool->owner_PrivatePool->cudaMalloc_count--; in release_block()
2915 block->pool->owner_PrivatePool->cudaMalloc_count > 0); in unmap_block()
2916 block->pool->owner_PrivatePool->cudaMalloc_count--; in unmap_block()