/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/mocks/ |
H A D | mock_svm_manager.h | 11 struct MockSVMAllocsManager : SVMAllocsManager { 12 using SVMAllocsManager::memoryManager; 13 using SVMAllocsManager::multiOsContextSupport; 14 using SVMAllocsManager::SVMAllocs; 15 using SVMAllocsManager::SVMAllocsManager; 16 using SVMAllocsManager::svmMapOperations;
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/page_fault_manager/ |
H A D | cpu_page_fault_manager_tests.cpp | 26 …pageFaultManager->insertAllocation(alloc1, 10, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 38 …pageFaultManager->insertAllocation(alloc2, 20, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 95 …pageFaultManager->insertAllocation(alloc1, 10, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 97 …pageFaultManager->insertAllocation(alloc3, 30, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 126 …pageFaultManager->insertAllocation(alloc1, 10, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 128 …pageFaultManager->insertAllocation(alloc3, 30, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryM… in TEST_F() 181 …pageFaultManager->insertAllocation(alloc, 10, reinterpret_cast<SVMAllocsManager *>(unifiedMemoryMa… in TEST_F() 552 auto unifiedMemoryManager = std::make_unique<SVMAllocsManager>(memoryManager.get(), false); in TEST_F() 600 unifiedMemoryManager = std::make_unique<SVMAllocsManager>(memoryManager.get(), false); in SetUp() 608 std::unique_ptr<SVMAllocsManager> unifiedMemoryManager; [all …]
|
H A D | mock_cpu_page_fault_manager.h | 44 void setAubWritable(bool writable, void *ptr, SVMAllocsManager *unifiedMemoryManager) override { in setAubWritable() 47 void baseAubWritable(bool writable, void *ptr, SVMAllocsManager *unifiedMemoryManager) { in baseAubWritable()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/memory_manager/ |
H A D | unified_memory_manager.cpp | 54 void SVMAllocsManager::MapOperationsTracker::insert(SvmMapOperation mapOperation) { in insert() 58 void SVMAllocsManager::MapOperationsTracker::remove(const void *regionPtr) { in remove() 105 SVMAllocsManager::SVMAllocsManager(MemoryManager *memoryManager, bool multiOsContextSupport) in SVMAllocsManager() function in NEO::SVMAllocsManager 126 void *SVMAllocsManager::createHostUnifiedMemoryAllocation(size_t size, in createHostUnifiedMemoryAllocation() 172 void *SVMAllocsManager::createUnifiedMemoryAllocation(size_t size, in createUnifiedMemoryAllocation() 234 void *SVMAllocsManager::createSharedUnifiedMemoryAllocation(size_t size, in createSharedUnifiedMemoryAllocation() 317 SvmAllocationData *SVMAllocsManager::getSVMAlloc(const void *ptr) { in getSVMAlloc() 332 bool SVMAllocsManager::freeSVMAlloc(void *ptr, bool blocking) { in freeSVMAlloc() 478 bool SVMAllocsManager::hasHostAllocations() { in hasHostAllocations() 488 SvmMapOperation *SVMAllocsManager::getSvmMapOperation(const void *ptr) { in getSvmMapOperation() [all …]
|
H A D | unified_memory_manager.h | 71 class SVMAllocsManager { 74 friend class SVMAllocsManager; variable 116 SVMAllocsManager(MemoryManager *memoryManager, bool multiOsContextSupport); 117 MOCKABLE_VIRTUAL ~SVMAllocsManager() = default;
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/page_fault_manager/ |
H A D | cpu_page_fault_manager.h | 21 class SVMAllocsManager; variable 30 void moveAllocationsWithinUMAllocsManagerToGpuDomain(SVMAllocsManager *unifiedMemoryManager); 31 …void insertAllocation(void *ptr, size_t size, SVMAllocsManager *unifiedMemoryManager, void *cmdQ, … 42 SVMAllocsManager *unifiedMemoryManager; 60 …MOCKABLE_VIRTUAL void setAubWritable(bool writable, void *ptr, SVMAllocsManager *unifiedMemoryMana…
|
H A D | cpu_page_fault_manager.cpp | 19 void PageFaultManager::insertAllocation(void *ptr, size_t size, SVMAllocsManager *unifiedMemoryMana… in insertAllocation() 69 void PageFaultManager::moveAllocationsWithinUMAllocsManagerToGpuDomain(SVMAllocsManager *unifiedMem… in moveAllocationsWithinUMAllocsManagerToGpuDomain() 136 void PageFaultManager::setAubWritable(bool writable, void *ptr, SVMAllocsManager *unifiedMemoryMana… in setAubWritable()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/memory_manager/ |
H A D | cpu_page_fault_manager_memory_sync_tests.cpp | 53 auto svmAllocsManager = std::make_unique<SVMAllocsManager>(memoryManager.get(), false); in TEST_F() 82 struct MockSVMAllocsManager : SVMAllocsManager { in TEST_F() 83 using SVMAllocsManager::SVMAllocsManager; in TEST_F() 85 …SVMAllocsManager::insertSvmMapOperation(regionSvmPtr, regionSize, baseSvmPtr, offset, readOnlyMap); in TEST_F()
|
H A D | unified_memory_manager_tests.cpp | 199 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in TEST_F() 232 SVMAllocsManager::SvmAllocationProperties svmProperties; in TEST_F() 240 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in TEST_F() 265 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in TEST_F() 285 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UNIFIED… in TEST_F() 425 …SVMAllocsManager::SvmAllocationProperties allocationProperties = MemObjHelper::getSvmAllocationPro… in TEST() 462 SVMAllocsManager::SvmAllocationProperties svmProperties; in TEST_F() 1196 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in HWTEST_F() 1224 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in HWTEST_F() 1252 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::SHARED_UNIFI… in HWTEST_F() [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/program/ |
H A D | program_initialization.h | 16 class SVMAllocsManager; variable 19 GraphicsAllocation *allocateGlobalsSurface(SVMAllocsManager *const svmAllocManager, Device &device,
|
H A D | program_initialization.cpp | 21 GraphicsAllocation *allocateGlobalsSurface(NEO::SVMAllocsManager *const svmAllocManager, NEO::Devic… in allocateGlobalsSurface() 33 NEO::SVMAllocsManager::SvmAllocationProperties svmProps = {}; in allocateGlobalsSurface()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/mocks/ |
H A D | mock_driver_handle.cpp | 25 NEO::SVMAllocsManager *Mock<DriverHandle>::getSvmAllocManager() { in getSvmAllocManager() 45 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_… in allocDeviceMem()
|
H A D | mock_driver_handle.h | 47 NEO::SVMAllocsManager *getSvmAllocManager();
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/context/ |
H A D | context.h | 37 class SVMAllocsManager; variable 95 SVMAllocsManager *getSVMAllocsManager() const { 222 SVMAllocsManager *svmAllocsManager = nullptr;
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/aub_tests/cmdlist/ |
H A D | append_kernel_indirect_aub_tests.cpp | 56 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in TEST_F() 100 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in TEST_F() 140 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/driver/ |
H A D | driver_handle_imp.h | 40 NEO::SVMAllocsManager *getSvmAllocsManager() override; 95 NEO::SVMAllocsManager *svmAllocsManager = nullptr;
|
H A D | driver_handle.h | 48 virtual NEO::SVMAllocsManager *getSvmAllocsManager() = 0;
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/mem_obj/ |
H A D | mem_obj_helper.h | 40 static SVMAllocsManager::SvmAllocationProperties getSvmAllocationProperties(cl_mem_flags flags);
|
H A D | mem_obj_helper.cpp | 96 SVMAllocsManager::SvmAllocationProperties MemObjHelper::getSvmAllocationProperties(cl_mem_flags fla… in getSvmAllocationProperties() 97 SVMAllocsManager::SvmAllocationProperties svmProperties; in getSvmAllocationProperties()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/aub_tests/ |
H A D | aub_hello_world_test.cpp | 23 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/kernel/ |
H A D | cache_flush_xehp_and_later_tests.inl | 261 SVMAllocsManager svmManager(memoryManager, false); 314 SVMAllocsManager svmManager(memoryManager, false); 370 SVMAllocsManager svmManager(memoryManager, false); 421 SVMAllocsManager svmManager(memoryManager, false); 473 SVMAllocsManager svmManager(memoryManager, false); 546 SVMAllocsManager svmManager(memoryManager, false);
|
H A D | cache_flush_tests.inl | 232 SVMAllocsManager svmManager(memoryManager, false); 290 SVMAllocsManager svmManager(memoryManager, false); 345 SVMAllocsManager svmManager(memoryManager, false); 392 SVMAllocsManager *svmManager = cmdQ.getContext().getSVMAllocsManager();
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/command_queue/ |
H A D | enqueue_svm_tests.cpp | 578 SVMAllocsManager::SvmAllocationProperties svmProperties; in TEST_F() 596 SVMAllocsManager::SvmAllocationProperties svmProperties; in TEST_F() 902 SVMAllocsManager::SvmAllocationProperties svmAllocationProperties; in TEST() 1360 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in HWTEST_F() 1384 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in HWTEST_F() 1408 …SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::DEVICE_UNIFI… in HWTEST_F() 1451 SVMAllocsManager *svmManager = nullptr; 1457 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in HWTEST_F() 1479 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in HWTEST_F() 1525 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::HOST_UN… in HWTEST_F() [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/sources/context/ |
H A D | test_context.cpp | 149 struct SVMAllocsManagerContextMock : public NEO::SVMAllocsManager { 150 …SVMAllocsManagerContextMock(MemoryManager *memoryManager) : NEO::SVMAllocsManager(memoryManager, f… in SVMAllocsManagerContextMock() 157 return NEO::SVMAllocsManager::createHostUnifiedMemoryAllocation(size, memoryProperties); in createHostUnifiedMemoryAllocation() 192 NEO::SVMAllocsManager *prevSvmAllocsManager; 633 …NEO::SVMAllocsManager::UnifiedMemoryProperties unifiedMemoryProperties(InternalMemoryType::SHARED_… in HWTEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/gen12lp/definitions/ |
H A D | cache_flush_gen12lp.inl | 31 NEO::SVMAllocsManager *svmAllocsManager =
|