91c4e33aee
Revert "igc revision update"
...
This reverts commit 3adf180010
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-17 02:51:35 +01:00
0556d543a3
Cleanup includes 56
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-16 14:42:44 +01:00
a5d4147355
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-02-16 14:32:32 +01:00
7f705e631a
Cleanup includes 55
...
Cleaned up files:
level_zero/core/test/unit_tests/fixtures/memory_ipc_fixture.h
level_zero/core/test/unit_tests/sources/tracing/test_api_tracing_common.h
opencl/test/unit_test/aub_tests/fixtures/multicontext_aub_fixture.h
opencl/test/unit_test/fixtures/program_fixture.h
opencl/test/unit_test/offline_compiler/environment.h
opencl/test/unit_test/offline_compiler/mock/mock_argument_helper.h
shared/test/common/cmd_parse/cmd_parse_base.inl
shared/test/common/mocks/mock_aub_file_stream.h
shared/test/common/mocks/mock_deferrable_deletion.h
shared/test/common/mocks/windows/mock_gmm_memory_base.h
shared/test/unit_test/encoders/walker_partition_fixture_xehp_and_later.h
shared/test/unit_test/os_interface/windows/os_interface_win_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-16 13:30:20 +01:00
4a2e7d6530
fix OCL: don't set multi storage resource for system memory images
...
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-16 12:30:12 +01:00
3072b8f4d2
Add failBuildProgramWithStatefulAccessPreference helper
...
Related-To: NEO-7698
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-16 11:57:33 +01:00
d75c4d3ec7
fix: Skip adding device to list if context creation fails
...
Propogate error codes from ioctl failure properly up the layers
so that we skip exposing bad root devices.
Related-To: NEO-7709
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-02-16 11:40:54 +01:00
95bea7c92b
fix zebin: use alignemnt of 8 when creating debug zebin
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-16 11:23:48 +01:00
e08d6ed4e6
Updated Programmer's Guide with details on Symbols in L0 Modules
...
Related-To: LOCI-3752
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-02-16 10:50:24 +01:00
0bc4294af4
Add support for Sysman init and sysman driver init
...
With this change we are adding support for initializing
Sysman and also providing support to get Sysman driver
handles and device handles.
Related-To: LOCI-3950
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2023-02-16 08:10:39 +01:00
2aaebddb37
Revert "Heap allocation allow base address and growable addresses"
...
This reverts commit 44ec497b1a
.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-02-15 18:34:40 +01:00
648d0b0681
Add mising state compute mode tracking test for command list
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-15 16:58:07 +01:00
33426b9cc5
feat(AIL): Enforce patchtokens fallback for applications that require it
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2023-02-15 15:19:50 +01:00
4e19807783
Add ClientNotRegistered constexpr definition
...
Related-To: NEO-7422, NEO-7458
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-15 14:49:11 +01:00
75a3f99685
fix(ocl) use correct lws and groupCount to disable eu fusion check
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-02-15 14:43:36 +01:00
90cd433766
Fix OCL: don't set multi storage resource for system memory buffers
...
respect pointer size when patching surfaces in 32 bit applications
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-15 14:22:37 +01:00
4b7782d2ab
refactor: Do not use api version when calculating driver version
...
Previous design allowed driver version to be no greater than 16-bit.
New design allows driver version to use (almost) whole 32-bit size limit.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-02-15 14:16:32 +01:00
89ddfbb83c
Cleanup includes 54
...
Cleaned up files:
level_zero/tools/test/unit_tests/sources/sysman/windows/mock_sysman_fixture.h
shared/test/common/os_interface/windows/wddm_fixture.h
shared/test/unit_test/command_stream/compute_mode_tests.h
shared/test/unit_test/encoders/walker_partition_fixture_xehp_and_later.h
shared/test/unit_test/fixtures/preemption_fixture.h
shared/test/unit_test/helpers/blit_commands_helper_tests.inl
shared/test/unit_test/helpers/simd_helper_tests.inl
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-15 13:59:56 +01:00
bd2204af5e
Check for nullptr before gpuAllocation dereference
...
There is a possibility that getGraphicsAllocation returns nullptr, so
accessing storageInfo would cause a Segmentation fault.
This change prevents that by simply nullptr checking.
Related-To: LOCI-4032
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-02-15 13:42:29 +01:00
9882e992ac
Revert "refactor(l0): follow-up cleanup after adding LargeGRF fix"
...
This reverts commit 871a3bd11d
.
This is due do Elmo regression.
Related-To: NEO-7684, HSD-18027378546
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-02-15 13:38:33 +01:00
8c17313c8b
Cleanup includes 53
...
Cleaned up files:
opencl/source/mem_obj/image.inl
shared/offline_compiler/source/decoder/zebin_manipulator.h
shared/source/aub_mem_dump/aub_alloc_dump.h
shared/source/compiler_interface/intermediate_representations.h
shared/source/helpers/blit_commands_helper_base.inl
shared/source/utilities/debug_file_reader.h
shared/source/utilities/software_tags.h
shared/source/xe_hpc_core/hw_cmds_pvc.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-15 13:21:14 +01:00
07598fb5e0
feature: Affinity mask plus ReturnSubDevicesAsApiDevices
...
When using ReturnSubDevicesAsApiDevices=1 to have
sub-devices-as-root-devices, then the driver should read the values
passed in the mask as those corresponding to the physical
sub-devices.
For instance, in a dual system with multi-tile device, we would have:
card 0, tile 0
card 0, tile 1
card 1, tile 0
card 1, tile 1
With:
ReturnSubDevicesAsApiDevices=0
ZE_AFFINITY_MASK=0,1
Then all tiles in card 0 and card 1 need to be exposed.
With:
ReturnSubDevicesAsApiDevices=1
ZE_AFFINITY_MASK=0,3
Then card 0 tile 0, and card 1 tile 1 need to be exposed.
Related-To: NEO-7137
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-02-15 12:28:46 +01:00
275bed2a31
Register csr's client at first submit
...
Related-To: NEO-7422, NEO-7458
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-15 11:31:59 +01:00
2b06aa1129
Drop support flags of always supported properties
...
- stateless mocs is present in all state base address commands
- select GPGPU pipeline is present in all pipeline select commands
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-15 10:11:02 +01:00
2e65c1d522
ci: lint revision update
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2023-02-15 09:43:03 +01:00
51887af219
refactor OCL: cleanup after moving multi root device buffers to local mem
...
remove debug flag AllocateBuffersInLocalMemoryForMultiRootDeviceContexts
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-15 09:41:20 +01:00
44ec497b1a
feature: Allow for Allocating a base address in the heap and grow an allocation
...
Related-To: LOCI-3871
- Enabled allocation of specified base address in the targeted heap.
- Enabled virtual memory reservations to grow by allocating at the start
of the heap vs the end of the heap.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-02-15 08:13:38 +01:00
6308c1b210
Correct state compute mode transitions on platforms with disabled tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-14 21:56:23 +01:00
3adf180010
igc revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-02-14 15:16:04 +01:00
5a89a761f5
Fix OCL: always signal usage when migrating memory
...
multi storage memory migration needs to wait until memory is no longer used
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-14 15:10:02 +01:00
6b1c5b7eb8
Update state properties only affected by kernel data
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-14 14:56:47 +01:00
c268b9a853
refactor: rename os_agnostic_product_helper files
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-14 14:51:23 +01:00
74bae6876d
refactor make gfx helper methods for pvc and later non specialized
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-02-14 11:00:30 +01:00
b1e8ca5d59
fix make resident dependent multi root device tags
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-02-14 09:58:00 +01:00
1c63753ebe
feature(sysman): Support for reset event upon repair
...
Related-To: LOCI-3720
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2023-02-14 08:12:22 +01:00
31d68c42e6
fix mismatched-new-delete when using unique_ptr
...
Related-To: NEO-6511
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2023-02-14 08:07:13 +01:00
dcea913fbc
feature: Add support for host IPC allocations
...
Add support for importing and exporting host allocations.
Related-To: LOCI-3771
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-02-14 00:50:44 +01:00
98b60ba148
Change state tracking interfaces to split properties update
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-13 18:36:21 +01:00
429be6b4cb
Disable EUFusion for odd work groups with DPAS on DG2
...
Related-To: NEO-7495, HSD-14017007475
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-02-13 15:27:49 +01:00
4c58eda90d
Ensure that BO handle is closed only once
...
When one process had exported and then opened IPC handle
of memory, then close function was called twice for the
same BO handle. It caused debugBreak() and aborted
an application.
This change allows multiple separate BOs to share one
handle. The last shared handle owner calls close() function.
Related-To: NEO-7200
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2023-02-13 14:42:49 +01:00
272427bb1c
Feature OCL: allocate multi root device buffers in local memory
...
Related-To: NEO-5735
Resolves: NEO-7092
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-13 14:30:25 +01:00
7eb91e3b04
Split the L0 BCS split into D2H and H2D
...
-use separate pair of engines for D2H and H2D transfers
Related-To: NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 14:17:39 +01:00
7ad78a28ff
Fix profiling in BCS split
...
-program profiling start after event waitlist
Resolves: NEO-7723
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 12:22:00 +01:00
5ec9de90ee
Cleanup includes 52
...
Cleaned up files:
level_zero/core/source/driver/driver.h
level_zero/tools/source/sysman/fabric_port/windows/os_fabric_port_imp.h
level_zero/tools/source/sysman/pci/os_pci.h
shared/source/debug_settings/debug_settings_manager.h
shared/source/gmm_helper/page_table_mngr.h
shared/source/gmm_helper/windows/gmm_memory_base.h
shared/source/kernel/kernel_arg_metadata.h
shared/test/common/libult/linux/drm_mock.h
shared/test/unit_test/fixtures/command_container_fixture.h
shared/test/unit_test/fixtures/product_config_fixture.h
shared/test/unit_test/helpers/simd_helper_tests_pvc_and_later.inl
shared/test/unit_test/os_interface/hw_info_config_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-13 11:39:34 +01:00
073de9db62
Do not track split internal events as a barrier
...
Related-To: NEO-7723, NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 11:19:00 +01:00
6b6e112412
revert: disabled deferred deleter on DG2
...
Related-To: NEO-7532
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-02-13 11:05:24 +01:00
e6181d7933
Reuse builtin module and init selected builtin on device init
...
-start async thread at device initialization which initializes selected
builtins and exits
-share module across builtins using same binary
Resolves: NEO-7644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 10:55:57 +01:00
72f33b898d
W/A add limitation on preferred slm on some platforms
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-7323, NEO-7340, HSD-14017341140, HSD-14017348303
2023-02-13 10:42:39 +01:00
f22890f74f
refactor: remove unused test file
...
All of those tests contain functions that have been removed or changed.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-13 09:08:03 +01:00
07d3353b1f
Add support for sysman zesFabricPortGetFabricErrorCounters API
...
Related-To: LOCI-3398
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2023-02-13 06:50:23 +01:00