Home
last modified time | relevance | path

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

/external/skia/src/sksl/
DSkSLPool.cpp24 static void set_thread_local_memory_pool(MemoryPool* memPool) { in set_thread_local_memory_pool() argument
25 sMemPool = memPool; in set_thread_local_memory_pool()
84 MemoryPool* memPool = get_thread_local_memory_pool(); in detachFromThread() local
85 VLOG("DETACH Pool:0x%016llX\n", (uint64_t)memPool); in detachFromThread()
86 SkASSERT(memPool == fMemPool.get()); in detachFromThread()
87 memPool->resetScratchSpace(); in detachFromThread()
93 MemoryPool* memPool = get_thread_local_memory_pool(); in AllocMemory() local
94 if (memPool) { in AllocMemory()
95 void* ptr = memPool->allocate(size); in AllocMemory()
96 VLOG("ALLOC Pool:0x%016llX 0x%016llX\n", (uint64_t)memPool, (uint64_t)ptr); in AllocMemory()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_runtime_11_2.inc237 cudaDeviceGetDefaultMemPool(cudaMemPool_t *memPool, int device) {
241 return func_ptr(memPool, device);
245 cudaDeviceSetMemPool(int device, cudaMemPool_t memPool) {
249 return func_ptr(device, memPool);
253 cudaDeviceGetMemPool(cudaMemPool_t *memPool, int device) {
257 return func_ptr(memPool, device);
1335 extern __host__ cudaError_t CUDARTAPI cudaMemPoolTrimTo(cudaMemPool_t memPool,
1340 return func_ptr(memPool, minBytesToKeep);
1344 cudaMemPool_t memPool, enum cudaMemPoolAttr attr, void *value) {
1349 return func_ptr(memPool, attr, value);
[all …]
Dcuda_11_2.inc1168 CUmemoryPool memPool,
1174 return func_ptr(flags, memPool, location);