compute-runtime/shared/test/common/mocks
Michal Mrozek 3ecbc55ba9 Optimize Level Zero indirect allocations handling.
Make them resident directly instead of populating residency container
Remove finds, not needed, CSR resolves duplicates at makeResident calls
Observed gain is 32x for 10k indirect allocations.


Co-authored-by: Michal Mrozek <michal.mrozek@intel.com>

Co-authored-by: Dominik Dabek <dominik.dabek@intel.com>

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-19 13:08:35 +01:00
..
linux Test closing GEM worker is blocking during cleanup 2022-01-12 12:48:05 +01:00
windows Move memory fixtures to shared 2022-01-03 16:47:02 +01:00
CMakeLists.txt Move memory fixtures to shared 2022-01-03 16:47:02 +01:00
mock_allocation_properties.h Move some mocks to shared 2021-10-15 09:59:47 +02:00
mock_aub_center.h Move wddm_fixture.h and releted files from opencl to shared 2021-07-07 12:30:12 +02:00
mock_aub_csr.h Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests... 2022-01-05 14:45:13 +01:00
mock_aub_file_stream.h Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests... 2022-01-05 14:45:13 +01:00
mock_aub_manager.h Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_aub_stream.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_aub_subcapture_manager.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_bindless_heaps_helper.h Pass device bit field to create bindless heaps allocations 2021-10-05 14:36:59 +02:00
mock_builtins.h Cleanup builtins dependencies 2021-10-19 17:29:28 +02:00
mock_builtinslib.h Move some mocks to shared 2021-10-15 09:59:47 +02:00
mock_cif.cpp Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_cif.h Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_command_stream_receiver.cpp Return error when failing on submission 2022-01-12 16:42:30 +01:00
mock_command_stream_receiver.h Optimize Level Zero indirect allocations handling. 2022-01-19 13:08:35 +01:00
mock_compiler_interface.h Add test for getMaxParameterSizeFromIGC 2021-12-30 18:17:40 +01:00
mock_compiler_interface_spirv.cpp Move kernel binary helpers to shared 2021-10-06 13:41:34 +02:00
mock_compiler_interface_spirv.h Copyright header update 2021-05-17 20:38:19 +02:00
mock_compilers.cpp Allow ocloc to link files 2022-01-14 16:18:36 +01:00
mock_compilers.h Allow ocloc to link files 2022-01-14 16:18:36 +01:00
mock_csr.h Return error when failing on submission 2022-01-12 16:42:30 +01:00
mock_csr_simulated_common_hw.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_debugger.h Copyright header update 2021-05-17 20:38:19 +02:00
mock_deferrable_deletion.cpp Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_deferrable_deletion.h Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_deferred_deleter.cpp Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_deferred_deleter.h Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_device.cpp Rename functions 2021-12-13 14:27:02 +01:00
mock_device.h Add test for getMaxParameterSizeFromIGC 2021-12-30 18:17:40 +01:00
mock_direct_submission_controller_enabled.cpp Enable direct submission controller 2021-10-26 12:07:11 +02:00
mock_direct_submission_diagnostic_collector.h
mock_direct_submission_hw.h Add notify parameter to direct submission post sync operations 2021-12-23 17:35:48 +01:00
mock_dispatch_kernel_encoder_interface.h Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger 2021-12-28 12:58:31 +01:00
mock_driver_info.h Add cl_khr_pci_bus_info extension 2021-05-20 14:51:33 +02:00
mock_elf.h Relocate debug data 2021-02-16 14:59:30 +01:00
mock_execution_environment.h Add direct submission termination mechanism 2021-08-20 13:57:28 +02:00
mock_experimental_command_buffer.h Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_gfx_partition.cpp Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_gfx_partition.h Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_gmm.h Refactor [1/n]: Make compression preference allocation property 2021-12-02 15:24:35 +01:00
mock_gmm_client_context.cpp Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_gmm_client_context.h Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_gmm_client_context_base.cpp Fix to proper init gmm page table on linux 2021-09-09 18:07:29 +02:00
mock_gmm_client_context_base.h Fix to proper init gmm page table on linux 2021-09-09 18:07:29 +02:00
mock_gmm_helper.h Disable L3 caches for debug on ATS and DG2 2021-12-14 13:59:09 +01:00
mock_gmm_page_table_mngr.cpp Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests... 2022-01-05 14:45:13 +01:00
mock_gmm_page_table_mngr.h Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests... 2022-01-05 14:45:13 +01:00
mock_gmm_resource_info.h Remove gmock from MockGmmResourceInfo 2021-11-30 10:23:15 +01:00
mock_gmm_resource_info_common.cpp Remove gmock from MockGmmResourceInfo 2021-11-30 10:23:15 +01:00
mock_graphics_allocation.h Remove mockMaxOsContextCount 2021-09-20 19:02:54 +02:00
mock_host_ptr_manager.h move mock_host_ptr_manager to shared 2021-09-24 15:36:15 +02:00
mock_hw_helper.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_hw_info_config.cpp Temporarily disabling local memory for DG2 in WSL 2022-01-06 11:15:25 +01:00
mock_internal_allocation_storage.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_io_functions.h compiler cache to store input into separate file 2021-11-16 17:23:17 +01:00
mock_kernel_info.cpp Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_kernel_info.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_lrca_helper.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_memory_manager.cpp Rename compression flags and helpers 2021-12-03 18:09:02 +01:00
mock_memory_manager.h Rename compression flags and helpers 2021-12-03 18:09:02 +01:00
mock_memory_operations_handler.h Fix DirectSubmission residency handling 2021-09-03 16:57:42 +02:00
mock_migration_sync_data.h Add mechanism to migrate multi root device memory 2021-07-19 19:49:22 +02:00
mock_multi_graphics_allocation.h Add mechanism to migrate multi root device memory 2021-07-19 19:49:22 +02:00
mock_os_context.h Check if direct submission available once 2021-12-31 11:53:29 +01:00
mock_os_library.h Copyright header update 2021-05-17 20:38:19 +02:00
mock_ostime.h Move mock_ostime to shared 2021-10-13 11:24:00 +02:00
mock_ostime_win.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_physical_address_allocator.h Move some shared tests to shared 2021-05-18 13:51:18 +02:00
mock_scratch_space_controller_xehp_and_later.h Move shared object mocks to shared directory 2021-12-20 18:48:37 +01:00
mock_sip.cpp Add new functionality to load SIP from file 2021-04-23 13:48:26 +02:00
mock_sip.h Enhance logs in EuThread 2021-11-03 11:04:14 +01:00
mock_source_level_debugger.h Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger 2021-12-28 12:58:31 +01:00
mock_submissions_aggregator.h Move shared object mocks to shared directory 2021-12-20 18:48:37 +01:00
mock_svm_manager.h Move some mocks to shared 2021-10-12 21:46:53 +02:00
mock_tbx_csr.h Fix flush tag update in TBX mode 2021-11-24 12:30:29 +01:00
mock_tbx_sockets.h Move mocks: cif, gmm context, compilers 2021-05-27 12:51:28 +02:00
mock_tbx_stream.h Move tbx stream, tbx csr to shared 2021-05-31 14:35:32 +02:00
mock_timestamp_container.h Move shared object mocks to shared directory 2021-12-20 18:48:37 +01:00
mock_wddm.cpp Move MockWddm body to WddmMock 2022-01-12 16:08:46 +01:00
mock_wddm.h Move MockWddm body to WddmMock 2022-01-12 16:08:46 +01:00
mock_wddm_interface20.h Move wddm_fixture.h and releted files from opencl to shared 2021-07-07 12:30:12 +02:00
mock_wddm_interface23.h Move shared object mocks to shared directory 2021-12-20 18:48:37 +01:00
mock_wddm_residency_allocations_container.h Move wddm_fixture.h and releted files from opencl to shared 2021-07-07 12:30:12 +02:00
mock_wddm_residency_logger.h Move wddm_fixture.h and releted files from opencl to shared 2021-07-07 12:30:12 +02:00
ult_device_factory.cpp move mock_memory_manager to shared 2021-10-05 16:22:38 +02:00
ult_device_factory.h
wddm_mock_helpers.h Move MockWddm body to WddmMock 2022-01-12 16:08:46 +01:00