compute-runtime/shared/test/common/mocks
Maciej Plewka 54eee2a88b Fix multi thread usage of external host alloc
With this commit OpenCL will track if external host memory is used from
few threads and will secure to update task count in all threads before
destroing allocation.

Resolves: NEO-6807

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-04-26 15:31:24 +02:00
..
linux feature direct submission: use tag allocation as a completion fence 2022-04-25 13:30:55 +02:00
windows Fix Wddm DirectSubmission unit tests 2022-04-11 12:42:58 +02:00
CMakeLists.txt test: create dedicated mock object for timestamp packet 2022-04-13 14:56:36 +02:00
mock_allocation_properties.h Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49: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 Do not allocate dynamic state heap if not needed 2022-03-31 12:13:13 +02:00
mock_aub_file_stream.h Clean-Up unused code related to GMock 2022-03-22 16:16:34 +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 Do not allocate dynamic state heap if not needed 2022-03-31 12:13:13 +02:00
mock_command_stream_receiver.h Fix multi thread usage of external host alloc 2022-04-26 15:31:24 +02: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 Improve code coverage of OfflineCompiler class 2022-04-07 13:58:52 +02:00
mock_compilers.h Improve code coverage of OfflineCompiler class 2022-04-07 13:58:52 +02:00
mock_csr.h Do not allocate dynamic state heap if not needed 2022-03-31 12:13:13 +02:00
mock_csr_simulated_common_hw.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_debugger.h Refactor debugger code 2022-04-21 13:04:34 +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 support for allocating RT globals 2022-04-25 17:56:09 +02: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 Move non-ult shared files to single directory 2021-02-10 21:03:13 +01:00
mock_direct_submission_hw.h feature direct submission: use tag allocation as a completion fence 2022-04-25 13:30:55 +02:00
mock_dispatch_kernel_encoder_interface.h Unify implicit args programming across APIs 2022-02-23 11:52:47 +01:00
mock_driver_info.h Add cl_khr_pci_bus_info extension 2021-05-20 14:51:33 +02:00
mock_driver_model.h L0 Core Add Support For pci_speed_ext 2022-03-16 22:47:59 +01:00
mock_elf.h Relocate debug data 2021-02-16 14:59:30 +01:00
mock_execution_environment.h Assign pat_index to BO during creation 2022-04-21 13:25:13 +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 Remove GMock from GMockDrmMemoryManager, MockOSMemoryLinux, MyCsr... 2022-02-14 13:33:15 +01:00
mock_gmm.h Initial implementation of CacheSettingsHelper 2022-02-08 16:18:06 +01:00
mock_gmm_client_context.cpp Improve pat index programming on linux 2022-04-12 08:18:20 +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 Improve pat index programming on linux 2022-04-12 08:18:20 +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 Update RENDER_SURFACE_STATE for Xe Hpc 2022-01-24 18:06:42 +01:00
mock_gmm_resource_info_common.cpp Update RENDER_SURFACE_STATE for Xe Hpc 2022-01-24 18:06:42 +01:00
mock_graphics_allocation.h Fix multi thread usage of external host alloc 2022-04-26 15:31:24 +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 Improve isIpSamplingSupported helper 2022-04-20 17:02:20 +02: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 Remove device side enqueue info from kernel descriptor 2022-02-22 14:18:44 +01:00
mock_kernel_info.h Remove device side enqueue info from kernel descriptor 2022-02-22 14:18:44 +01:00
mock_lrca_helper.h Move shared mocks to shared directory 2021-12-21 13:26:59 +01:00
mock_memory_manager.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
mock_memory_manager.h Refactor: use stack vector for root device indices 2022-04-14 14:05:42 +02:00
mock_memory_operations_handler.h feature direct submission: use tag allocation as a completion fence 2022-04-25 13:30:55 +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 Revert "Check if direct submission available once" 2022-01-25 10:01:15 +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 Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
mock_sip.h Enhance logs in EuThread 2021-11-03 11:04:14 +01:00
mock_source_level_debugger.h Refactor debugger code 2022-04-21 13:04:34 +02: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 Add missing download allocation calls 2022-03-31 09:49:22 +02: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 Refactor: use stack vector for root device indices 2022-04-14 14:05:42 +02:00
mock_timestamp_packet.h test: create dedicated mock object for timestamp packet 2022-04-13 14:56:36 +02: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 Move non-ult shared files to single directory 2021-02-10 21:03:13 +01:00
wddm_mock_helpers.h Move MockWddm body to WddmMock 2022-01-12 16:08:46 +01:00