Home
last modified time | relevance | path

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

/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/
H A Dimpl.cpp86 hsa_amd_memory_pool_t MemoryPool) { in impl_memcpy_h2d() argument
99 hsa_status_t ret = core::Runtime::HostMalloc(&tempHostPtr, size, MemoryPool); in impl_memcpy_h2d()
114 hsa_amd_memory_pool_t MemoryPool) { in impl_memcpy_d2h() argument
128 hsa_status_t ret = core::Runtime::HostMalloc(&tempHostPtr, size, MemoryPool); in impl_memcpy_d2h()
H A Ddata.cpp22 hsa_amd_memory_pool_t MemoryPool) { in HostMalloc() argument
23 hsa_status_t err = hsa_amd_memory_pool_allocate(MemoryPool, size, 0, ptr); in HostMalloc()
H A Dimpl_runtime.h24 hsa_amd_memory_pool_t MemoryPool);
28 hsa_amd_memory_pool_t MemoryPool);
H A Drt.h21 hsa_amd_memory_pool_t MemoryPool);
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp101 return (*Unwrapped)(MemoryPool); in amd_agent_iterate_memory_pools()
309 hsa_status_t isValidMemoryPool(hsa_amd_memory_pool_t MemoryPool) { in isValidMemoryPool() argument
312 MemoryPool, HSA_AMD_MEMORY_POOL_INFO_RUNTIME_ALLOC_ALLOWED, in isValidMemoryPool()
336 if ((Err = isValidMemoryPool(MemoryPool)) != HSA_STATUS_SUCCESS) { in addMemoryPool()
340 Result->push_back(MemoryPool); in addMemoryPool()
877 DeviceFineGrainedMemoryPools[DeviceId] = MemoryPool; in addDeviceMemoryPool()
879 DeviceCoarseGrainedMemoryPools[DeviceId] = MemoryPool; in addDeviceMemoryPool()
895 return addDeviceMemoryPool(MemoryPool, DeviceId); in setupDevicePools()
924 for (const auto &MemoryPool : HostPools) { in setupHostMemoryPools() local
936 KernArgPool = MemoryPool; in setupHostMemoryPools()
[all …]