compute-runtime/shared/test/common/mocks
Kacper Nowak c504b497d7 refactor: Store AIL in root device environment
Instead of storing AIL configurations in global table, store it
in root device environment.
This also prevents potential scenario with accessing deleted memory due
to symbol collision when application uses both OCL/L0 libraries.
- AIL is now stored in root device environment, and gets initialized
with other helpers
- Minor: corrected naming in ULTs

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Related-To: NEO-9240
2023-11-17 15:18:27 +01:00
..
linux feature: update Xe KMD header 2023-10-24 12:03:45 +02:00
windows fix: fix issues with ubsan in shared and ocl 2023-11-13 12:40:57 +01:00
CMakeLists.txt refactor: add ail context sync flag 2023-10-15 15:10:13 +02:00
debugger_l0_create.cpp Cleanup includes 48 2023-02-10 17:23:02 +01:00
device_ult.cpp Flush task at device init 2023-01-30 10:41:42 +01:00
mock_ail_configuration.h refactor: Store AIL in root device environment 2023-11-17 15:18:27 +01:00
mock_allocation_properties.h Cleanup includes 12 2022-12-07 13:14:15 +01:00
mock_assert_handler.h feature: gpu assert implementation 2023-03-15 19:22:09 +01: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 fix: capability to write memory chunk in aub/tbx mode 2023-10-19 19:13:11 +02:00
mock_aub_file_stream.h Cleanup includes 55 2023-02-16 13:30:20 +01:00
mock_aub_manager.h fix: decanonize address passed to AubManager's freeMemory() 2023-10-16 12:58:21 +02:00
mock_aub_subcapture_manager.h Warn when RAII lock returned from function is discarded 2022-09-01 16:53:03 +02:00
mock_bindless_heaps_helper.h feature: bindless addressing allocator - reuse of bindless slots 2023-08-29 09:51:36 +02:00
mock_builtins.h feature(debugger): allocate per-context SIP kernels with contextID 2023-08-09 16:22:20 +02:00
mock_builtinslib.h Remove builtins duplication 2022-08-24 07:27:46 +02:00
mock_cif.cpp
mock_cif.h clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
mock_command_encoder.h wa: add dummy blits before command MI_FLUSH_DW 2023-03-09 10:40:35 +01:00
mock_command_stream_receiver.cpp fix: Ensure flat ring buffer disabled on regular cmd lists 2023-06-19 16:27:57 +02:00
mock_command_stream_receiver.h performance(ocl): program barrier pc in taskStream 2023-09-19 11:48:02 +02:00
mock_compiler_cache.h fix: ocloc - regenerate genHash after compilation 2023-08-28 13:11:49 +02:00
mock_compiler_interface.h refactor: Remove globaly enabled cl_cache 2023-04-28 23:28:49 +02:00
mock_compiler_interface_spirv.cpp refactor: remove redundant including of compiler_cache.h 2023-02-03 11:16:31 +01:00
mock_compiler_interface_spirv.h
mock_compilers.cpp fix: fix issues with ubsan in shared and ocl 2023-11-13 12:40:57 +01:00
mock_compilers.h feature: add ocloc IGC_REVISION query 2023-09-26 15:57:11 +02:00
mock_cpu_page_fault_manager.cpp test: Add mock for cpu page fault manager 2023-07-21 17:18:42 +02:00
mock_cpu_page_fault_manager.h feature: register handler when we migrate to GPU 2023-08-14 11:14:03 +02:00
mock_csr.h refactor: Rename member variables to camelCase 3/n 2023-04-28 16:01:14 +02:00
mock_debugger.h L0 Debug - Fix imm cmdlist mode on windows 2022-11-25 20:37:14 +01:00
mock_deferrable_deletion.cpp Revert "Deferred deletion of allocations in main thread" 2023-03-20 18:17:15 +01:00
mock_deferrable_deletion.h Revert "Deferred deletion of allocations in main thread" 2023-03-20 18:17:15 +01:00
mock_deferred_deleter.cpp Revert "Deferred deletion of allocations in main thread" 2023-03-20 18:17:15 +01:00
mock_deferred_deleter.h Revert "Deferred deletion of allocations in main thread" 2023-03-20 18:17:15 +01:00
mock_device.cpp fix: Add getDefaultDeviceHierarchy call to GfxCoreHelper 2023-10-06 12:32:41 +02:00
mock_device.h fix: stop direct submission blocking on platform destruction 2023-10-06 17:03:38 +02:00
mock_direct_submission_controller_enabled.cpp Enable direct submission controller 2021-10-26 12:07:11 +02:00
mock_direct_submission_hw.h refactor: add ulls diagnostic flag to select monitor fence input 2023-11-06 15:09:36 +01:00
mock_driver_info.h Add member for handling additional adapterInfo fields 2022-08-09 14:11:05 +02:00
mock_driver_model.h fix: add mechanism to detect gpu timestamp overflows 2023-10-19 16:31:06 +02:00
mock_elf.h feat(linker): allow use of local symbols 2023-03-02 12:39:21 +01:00
mock_execution_environment.cpp Move clGfxCoreHelper ownership to rootDeviceEnv 2023-01-05 12:58:38 +01:00
mock_execution_environment.h refactor: pass root device environment to CacheSettingsHelper::preferNoCpuAccess 2023-09-13 09:32:36 +02:00
mock_experimental_command_buffer.h
mock_gfx_core_helper.h refactor: rename hw_helper files to gfx_core_helper files 2023-02-01 19:37:51 +01:00
mock_gfx_partition.cpp
mock_gfx_partition.h fix: call heapFree with gpu address for front window allocations 2023-10-05 16:40:35 +02:00
mock_gmm.h refactor: move gmm constructor flags to struct 2023-11-15 09:26:13 +01:00
mock_gmm_client_context.cpp refactor: Simplify OverrideBlitterMocs usage 2023-05-09 19:22:57 +02:00
mock_gmm_client_context.h Refactor: pass root device environment to gmm client context 2022-11-28 13:26:29 +01:00
mock_gmm_client_context_base.cpp fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
mock_gmm_client_context_base.h fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
mock_gmm_client_context_base_drm.cpp fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
mock_gmm_client_context_base_drm_or_wddm.cpp fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
mock_gmm_client_context_base_wddm.cpp fix: Use Gmm to map virtual gpu addresses 2023-05-25 15:49:05 +02:00
mock_gmm_helper.h Add ForceAllResourcesUncached debug variable 2022-02-23 09:43:48 +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 fix: wa override pat index for uncached types on xe_lpg 2023-08-30 08:37:31 +02:00
mock_gmm_resource_info_common.cpp refactor: Rename member variables to camelCase 2/n 2023-04-27 20:39:22 +02:00
mock_graphics_allocation.h fix: handle failure on getting CL_MEM_ALLOCATION_HANDLE_INTEL info 2023-10-11 10:33:37 +02:00
mock_host_ptr_manager.h move mock_host_ptr_manager to shared 2021-09-24 15:36:15 +02:00
mock_internal_allocation_storage.h Use dedicated using type for TaskCount 2022-11-28 16:44:44 +01:00
mock_io_functions.h test: check if BXML was written correctly 2023-11-16 11:30:48 +01:00
mock_kernel_info.cpp refactor: store number of stateful args in KernelDescriptor 2023-06-12 14:15:43 +02:00
mock_kernel_info.h Clean unused code 2022-07-07 14:52:26 +02:00
mock_l0_debugger.h refactor: Remove SourceLevelDebugger 2023-08-10 11:14:02 +02:00
mock_memory_manager.cpp Revert "refactor: split CpuInaccessible MemoryPool types to Device and System" 2023-10-17 10:03:14 +02:00
mock_memory_manager.h refactor: remove useLocalMem from allocate32BitGraphicsMemoryImpl 2023-09-18 10:08:09 +02:00
mock_memory_operations_handler.h test: cleanup includes in L0 fixtures 2023-11-03 13:23:25 +01:00
mock_migration_sync_data.h Use dedicated using type for TaskCount 2022-11-28 16:44:44 +01:00
mock_modules_zebin.cpp feature: verify stateful information only when binary is generated by IGC 2023-06-12 11:45:41 +02:00
mock_modules_zebin.h refactor(zebin): move files to seperate directory 2023-03-03 21:48:19 +01: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 feature(debugger): allocate per-context SIP kernels with contextID 2023-08-09 16:22:20 +02:00
mock_os_library.cpp Improve GtPin init error status reporting 2022-08-05 04:18:07 +02:00
mock_os_library.h fix: avoid memory leak 2023-10-06 13:16:56 +02:00
mock_ostime.h test: fix potential data race in ult 2023-10-25 17:23:41 +02:00
mock_ostime_win.h Refactor: pass gfxCoreHelper to convertTimestampsFromOaToCsDomain 2023-01-02 08:12:15 +01:00
mock_product_helper.cpp feature: Add extensions to expose dot product capabilities 2023-10-31 21:54:39 +01:00
mock_product_helper.h performance: add override cacheable to gmm 2023-11-16 10:00:45 +01:00
mock_release_helper.h feature: add bindless addressing support query to releaseHelper 2023-10-09 16:42:56 +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 Separation of MemoryAllocation from os_agnostic_memory_manager.h 2023-01-04 15:09:36 +01:00
mock_sip.h fix(debugger): Set flags for MME regset 2023-08-23 16:38:35 +02:00
mock_submissions_aggregator.h Apply CamelCase for class and struct names 2023-04-24 15:36:27 +02:00
mock_svm_manager.h fix: Deferred SVM allocations look up by gpu address 2023-11-14 15:27:01 +01:00
mock_tbx_csr.h fix: capability to write memory chunk in aub/tbx mode 2023-10-19 19:13:11 +02:00
mock_tbx_sockets.h
mock_timestamp_container.h performance(ocl): timestamp packet count per gfx 2023-09-25 20:34:58 +02:00
mock_timestamp_packet.h performance(ocl): timestamp packet count per gfx 2023-09-25 20:34:58 +02:00
mock_wddm.cpp fix: add kmd wait on cpu when wait on paging fence when needed 2023-11-09 19:22:15 +01:00
mock_wddm.h fix: add kmd wait on cpu when wait on paging fence when needed 2023-11-09 19:22:15 +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 performance: add residency diagnostic for trim callback 2023-07-26 07:46:55 +02:00
ult_device_factory.cpp fix: set ParentDevice for subDevice only 2023-10-31 12:11:39 +01:00
ult_device_factory.h
wddm_mock_helpers.h Move MockWddm body to WddmMock 2022-01-12 16:08:46 +01:00