Compute-Runtime-Validation
21a506b045
Revert "fix: serialize printf kernel accesses using device-wise locks"
...
This reverts commit 3d33366ff6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-24 19:29:14 +02:00
Lu, Wenbin
3d33366ff6
fix: serialize printf kernel accesses using device-wise locks
...
Related-To: LOCI-4114
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2023-08-22 14:57:08 +02:00
Cencelewska, Katarzyna
dfa420d318
fix: remove wa for override patIndex on mtl
...
after forcing cacheable to 0 this wa should be not needed
Related-To: NEO-8120
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-08-22 12:09:19 +02:00
Fabian Zwolinski
6fca8ee195
refactor: Remove SourceLevelDebugger
...
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-08-10 11:14:02 +02:00
Mateusz Hoppe
c43b827702
feature(debugger): allocate per-context SIP kernels with contextID
...
- optimize allocating SIP kernels for context - use cached binary
- parse SIP binary to find patch location
- patch SIP binary with Offline dump context id
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-09 16:22:20 +02:00
Mateusz Hoppe
997b599168
fix(debugger): pass correct sipAllocation to makeResident
...
- sipAllocation for context must be resident in Offline mode
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-07-28 20:51:12 +02:00
Zhang, Winston
2a41ace67e
feature: Add hang detection support for zeDeviceGetStatus
...
Added hang detection for zeDeviceGetStatus API.
Added ULT for hang detection for zeDeviceGetStatus API.
Related-To: LOCI-1558
Signed-off-by: Zhang, Winston <winston.zhang@intel.com >
2023-07-20 15:09:10 +02:00
Neil R Spruit
8efd8853fb
feature: L0 Device Hierarchy support for Composite & Flat modes
...
Related-To: LOCI-4615
- Added Support for users to set ZE_FLAT_DEVICE_HIERARCHY to either FLAT
or COMPOSITE to change how devices are returned in zeDeviceGet and
clGetDeviceIDs.
- COMPOSITE is default behavior that exists today.
- FLAT returns all sub devices which have no sub devices and all root
devices that have no sub devices in zeDeviceGet ie with all devices
flattened out in order.
- Added zeDeviceGetRootDevice for one to retrieve the Root Device for
any SubDevice.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-07-20 01:00:54 +02:00
Mateusz Jablonski
66c733eac7
fix: add missing zero-initialization of variable
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-05 10:39:48 +02:00
Dunajski, Bartosz
61fb19caab
feature: bring back counter based in-order tracking
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-06-26 10:01:18 +02:00
Joshua Santosh Ranjan
97b4d8bab5
feature: add initial support for host mapped timestamps
...
Related-To: LOCI-4171
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-06-26 08:29:58 +02:00
Zbigniew Zdanowicz
1a80ab2589
performance: store values instead calling virtual methods in command list
...
Related-To: NEO-7828
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-06-16 16:45:16 +02:00
Zhang, Winston
44a8610ebb
feature: Implement support for zeDeviceGetStatus
...
Added support for zeDeviceGetStatus API.
Added ULTs for zeDeviceGetStatus API.
Related-To: LOCI-1558
Signed-off-by: Zhang, Winston <winston.zhang@intel.com >
2023-06-15 06:36:14 +02:00
Dunajski, Bartosz
37f04dc670
feature: in-order CmdList support for BCS split
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-06-09 15:15:45 +02:00
Mateusz Jablonski
c544004b8e
fix: move getProductConfigFromHwInfo to CompilerProductHelper
...
add tests for default PVC configs
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-29 14:08:52 +02:00
Joshua Santosh Ranjan
29682a4f8d
feature: print global timestamp
...
Related-To: LOCI-4285
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-05-25 09:45:13 +02:00
Daria Hinz
331f167cfe
feature: Add debug flag for setting hw ip version
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7954
2023-05-23 15:32:46 +02:00
Lukasz Jobczyk
9f755b54ad
performance: Bidirectional BCS split implementation for OCL
...
Related-To: NEO-7877
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-05-16 13:34:18 +02:00
Lukasz Jobczyk
49b7c0bec4
performance: Adjust BCS split masks
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-05-10 10:45:09 +02:00
Lukasz Jobczyk
48114e5423
fix: Release temporary allocations from bcs split
...
Related-To: NEO-7933
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-04-28 12:51:07 +02:00
Fabian Zwolinski
e351a90f81
refactor: Rename member variables to camelCase 2/n
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-27 20:39:22 +02:00
Aravind Gopalakrishnan
e2bbed2f06
fix: Fix get global timestamp for host
...
To avoid redundant call to gather cpu timestamp as
we already have that info from first ioctl call.
Related-To: LOCI-4354
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-04-26 19:19:50 +02:00
Zbigniew Zdanowicz
669665deff
performance: primary batch buffer use only on regular command lists
...
Immediate command list can use internal command queue.
Immediate command list then uses variable start offset and it does not
work with primary batch buffer.
Related-To: NEO-7807
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-04-19 19:36:51 +02:00
Daria Hinz
c3f4074f0a
fix: Unification of aot config with hw ip version
...
In the case of mtl+ platforms, the returned config value
should equal the hardware ip version value.
This change fixes situations where some config has not been
added and in this case we returned an unknown value.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7738
2023-04-12 18:34:03 +02:00
Brandon Yates
7dc4fd8dda
fix(l0): Fix cache properties for subdevice
...
total cache size calculation should use subdevice count
rather than MultiTileArchInfo to ensure correct size when subdevices
are queried
Related-to: LOCI-4217
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-04-04 08:05:09 +02:00
Rafal Maziejuk
27ff1c911d
feature l0: handle additional properties in modules
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-03-24 10:27:44 +01:00
Raiyan Latif
e3f732f5a6
feature: Add support for P2P Image Copy
...
Enables P2P Copy support for all Image API related calls:
- zeCommandListAppendImageCopy
- zeCommandListAppendImageCopyRegion
- zeCommandListAppendImageCopyToMemory
- zeCommandListAppendImageCopyFromMemory
Related-To: LOCI-4112
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2023-03-24 07:36:01 +01:00
Mateusz Jablonski
0da5e6f277
refactor l0: cleanup cmake file level_zero/core/source/CMakeLists.txt
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-16 12:38:15 +01:00
Mateusz Hoppe
0204761add
feature: gpu assert implementation
...
- allocate assert buffer when kernel has assert
- track assert kernels in cmdlists and cmdqueues
- check and print assert at sync calls: cmdqueue synchronize(), fence
synchronize(), event hostSynchronize(), synchronous imm cmdlists
append()
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 19:22:09 +01:00
Mateusz Jablonski
79f985a0e3
fix l0: correct setting ZE_DEVICE_MODULE_FLAG_DP4A bit
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 15:42:55 +01:00
Kamil Kopryk
fa8579602f
refactor: rename product helper files n/n
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-10 13:24:38 +01:00
Spruit, Neil R
98006ce72a
Add check allowing 1_2 device properties in stype check
...
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-07 20:19:39 +01:00
Spruit, Neil R
9aa4275fda
Check for valid stype before reading Device Properties pNext
...
Related-To: LOCI-3884
- Added check for valid device properties stype to remove the feature
specific debug vars that enabled/disabled reading of the pNext.
- Requires applications to properly set the device properties stype
in order for the pNext to be read for extensions.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-07 18:20:10 +01:00
Fabian Zwolinski
6c59953072
Add FP64 emulation support for ATS-M
...
This patch adds FP64 emulation support for ATS-M.
Introducing new environment variable - NEO_FP64_EMULATION - which provides
an option to allow the opt-in emulation of FP64.
When emulation is enabled, we pass -cl-fp64-gen-emu (ocl) /
-ze-fp64-gen-emu (L0) as an internal option to IGC.
Related-To: NEO-7611
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-07 14:21:01 +01:00
Zbigniew Zdanowicz
49def723b7
Unify layout of command list class
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-07 11:38:47 +01:00
Jaime Arteaga
a87fd77fd4
feature: Add debug key to enable cross-shared concurrent p2p access
...
Current support in the stack does not allow for concurrent access to
shared-allocations from host and peer devices when using page-faults.
So disable caps for now and introduce debug key for experimentation.
Access will be added by default as support in the stack becomes
available.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-03-02 18:29:28 +01:00
Lukasz Jobczyk
b814e20cf7
Obtain split events under mutex
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-01 13:35:51 +01:00
Milczarek, Slawomir
674691d170
Fix check for page faults enabled in get memory access properties
...
Related-To: NEO-6465
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-02-28 10:13:25 +01:00
Daria Hinz
acececc214
feat: Add device IP version extension
...
This change introduces an extension to query the device IP version for L0,
which corresponds to the PRODUCT_CONFIG value.
For OCL, the old mechanism is maintained with a debug flag,
and the default behavior has been unified with L0.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7735
2023-02-23 10:20:42 +01:00
Lukasz Jobczyk
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
Lukasz Jobczyk
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
Lukasz Jobczyk
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
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:23:02 +01:00
Warchulski, Jaroslaw
a2e6a8284b
Cleanup includes 47
...
Cleaned up files:
level_zero/tools/source/debug/windows/debug_session.h
level_zero/tools/source/sysman/memory/windows/os_memory_imp.h
level_zero/tools/source/sysman/windows/kmd_sys_manager.h
opencl/test/unit_test/aub_tests/command_stream/copy_engine_aub_tests_xehp_and
shared/source/command_container/command_encoder.inl
shared/source/command_stream/command_stream_receiver_hw_xehp_and_later.inl
shared/source/helpers/blit_commands_helper_base.inl
shared/test/unit_test/image/image_surface_state_fixture.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-10 17:07:30 +01:00
Lukasz Jobczyk
45a3e90cb1
Check if BCS is available when initializing split
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-10 09:33:21 +01:00
Lukasz Jobczyk
222992000a
Handle barrier correctly in L0 split
...
Resolves: NEO-7696
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-07 13:31:22 +01:00
Dunajski, Bartosz
756a9a9aaa
Fix BCS split events handling in RelaxedOrdering mode
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-02-06 11:00:58 +01:00
Kamil Kopryk
524d945e8c
refactor: rename l0 hw_helpers dir to gfx_core_helpers
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-02 11:15:56 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
Dunajski, Bartosz
807b7bec65
L0: Capability to set RelaxedOrdering mode per call
...
This is prework for future RelaxedOrdering mode optimizations
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-30 15:01:20 +01:00