Commit Graph

2130 Commits

Author SHA1 Message Date
Maciej Plewka
5807d512b3 fix: Reuse private allocations during cmdList dispatch
Related-To: NEO-8201

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-08-31 14:40:55 +02:00
Slawomir Milczarek
5833d65bc0 feature: Add support for memadvise with system preferred location
Related-To: NEO-7851

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2023-08-31 13:09:55 +02:00
Dunajski, Bartosz
52bab7844e fix: remove not needed check on event reset
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-30 09:19:22 +02:00
Mateusz Hoppe
f5cb7df7cd fix: do not download event allocation in TBX mode
- only download when allocation was used - inidcated by taskCount
Resolves: NEO-8312

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-29 16:27:33 +02:00
Dunajski, Bartosz
d582a48b1c feature: make in-order events optional
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-29 13:44:11 +02:00
Compute-Runtime-Validation
edd5523f82 Revert "fix: pass heap information when kernel operation is flushed"
This reverts commit b674a2829d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-29 02:30:18 +02:00
Zbigniew Zdanowicz
b674a2829d fix: pass heap information when kernel operation is flushed
Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-28 16:30:46 +02:00
Zbigniew Zdanowicz
757b64ea4c refactor: change immediate command list flushing method interface
- this change adds parameter that describes current flush contains kernel

Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-25 13:06:20 +02:00
Dunajski, Bartosz
1e95a8127f feature: enable RelaxedOrdering for in-order barriers
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-24 20:02:43 +02:00
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
Dunajski, Bartosz
7e34047352 fix: dispatch offset register when signaling timestamp event
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-24 17:17:22 +02:00
Dominik Dabek
5c5c718af3 performance: detect indirect access in kernel, PVC
Enabling on pvc after patch in igc.

Enabling only for JIT kernels because AOT could have been compiled with
IGC older than required.

Related-To: NEO-7712

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-08-24 02:15:11 +02:00
John Falkowski
d49190f4ae feature: Add debug/release variables prefixes
Add debug/release variables with prefixes for Level Zero, OpenCL and NEO

Resolves: NEO-6357

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-22 15:15:45 +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
Dunajski, Bartosz
7e6e0da978 feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-22 14:29:14 +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
Compute-Runtime-Validation
61cfedb9d3 Revert "fix: noop reset and close calls on immediate command lists"
This reverts commit 34bbd74043.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-22 05:26:25 +02:00
Zbigniew Zdanowicz
34bbd74043 fix: noop reset and close calls on immediate command lists
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-21 18:08:37 +02:00
Dunajski, Bartosz
f3b2458a9c fix: Use immediate command queue instead of CSR to obtain TaskCount.
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-21 15:04:46 +02:00
Spruit, Neil R
ea7b7d7009 feature: Support for Combined Device Hierarchy
Related-To: LOCI-4662

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-21 10:26:20 +02:00
Mateusz Hoppe
8435160db4 feature: bindless addressing for images
- program surface states for redescribed images correctly. Image copy
to/from memory are using redescribed surface states,
- refactor state base address programming - program address and size
together, set max size at the beginning due to lack of Enable flag
- set GpuBase in WddmAllocation when external heap is used
- return max ssh required size from kernelInfo or based on stateful args

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-18 15:59:20 +02:00
Dunajski, Bartosz
9d943e484e fix: stall RelaxedOrdering when submitting regular cmd list
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-18 14:20:31 +02:00
Artur Harasimiuk
f6e0c0cf89 Revert "feature: Add debug/release variable prefixes"
This reverts commit ec95d9314a.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-18 12:42:39 +02:00
Compute-Runtime-Validation
73ffc56938 Revert "feature: flush task count on cmd list hostSynchronize if needed"
This reverts commit d96d092602.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-18 03:05:11 +02:00
John Falkowski
2403212dcd fix: chunking prefetch add USER_FENCE
Add USER_FENCE before PREFETCH call and after the BIND

Related-To: NEO-8098

Signed-off by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-17 21:32:47 +02:00
Maciej Bielski
93af2e9c62 refactor: split ModuleImp::initialize to facilitate testing
Extract submethods from the original method to ease mocks injection.

Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2023-08-17 14:29:25 +02:00
Dunajski, Bartosz
d96d092602 feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-17 09:38:47 +02:00
Zhang, Winston
998e0a5833 feature: zeDriverGetLastErrorDescription error messages (cmdlist)
When there is a PRINT_DEBUG_STRING message in cmdlist that is applicable
to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.

Related-To: LOCI-4652

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:17:29 +02:00
Zhang, Winston
8962c95000 feature: zeDriverGetLastErrorDescription error messages (module)
When there is a PRINT_DEBUG_MESSAGE message in module that is
applicable to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.
ULTs are also added to verify that setErrorDescription successfully
stores the error message.

Related-To: LOCI-4653

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:14:49 +02:00
Compute-Runtime-Validation
ce7b25d445 Revert "fix: use proper pointer inside appendWriteGlobalTimestamp"
This reverts commit 5a235af209.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-14 10:54:20 +02:00
Katarzyna Cencelewska
5a235af209 fix: use proper pointer inside appendWriteGlobalTimestamp
Related-To: NEO-8105
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-08-11 08:18:45 +02:00
Zbigniew Zdanowicz
f9359eac1e performance: enable state base address tracking on xe hpc
Related-To: NEO-7963

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-10 14:13:30 +02:00
John Falkowski
ec95d9314a feature: Add debug/release variable prefixes
Resolves:  NEO-6357
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-10 14:01:09 +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
Kacper Nowak
1afaf37f78 refactor: Unify GTPin initialization logic between APIs
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
  context creation and if yes,
  make a call to OpenGTPinOCL function.
  Handle potential errors gracefully without exiting.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-09 17:15:24 +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
Dunajski, Bartosz
d5565a68e2 refactor: unify immediate cmd list wait methods
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-09 16:13:45 +02:00
Dunajski, Bartosz
3d1400f8dc feature: ZE_COMMAND_LIST_FLAG_IN_ORDER flag support
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-09 09:11:31 +02:00
Dunajski, Bartosz
b09357470a feature: extend in order execution support on regular command lists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-08 16:50:58 +02:00
Milczarek, Slawomir
f3f623900a fix: memory prefetch for kmd migrated shared alloc to check for invalid usm ptr
Fix for SIGSEGV in SYCL_CTSO0Debug-usm_api_prefetch_handler_no_events_l0
./run_l0.sh usm_api_prefetch_handler_no_events test_usm

Related-To: LOCI-4742

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2023-08-08 11:29:14 +02:00
Dunajski, Bartosz
d5d43ead7c feature: initial support of in-order regular cmd lists
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-08 10:41:25 +02:00
Spruit, Neil R
51670abc29 feature: Add Support for Making Memory Resident on P2P capable devices
Related-To: LOCI-4583

- Provide support for allowing a user to make memory resident on a peer
to peer connected device.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-07 19:38:26 +02:00
Dunajski, Bartosz
bdcc1bfc86 fix: dont pass Queue flags as CL flags when creating immediate CL
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-07 12:45:11 +02:00
Zbigniew Zdanowicz
f0d793979e refactor: reposition of implementations of level zero helper methods
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-07 11:15:08 +02:00
Compute-Runtime-Validation
65df34bbc7 Revert "refactor: Unify GTPin initialization logic between APIs"
This reverts commit 68a5108e05.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-07 04:31:52 +02:00
Kacper Nowak
68a5108e05 refactor: Unify GTPin initialization logic between APIs
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
  clGetPlatformIDs API call, and if yes,
  make a call to OpenGTPinOCL function.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-08-05 18:22:08 +02:00
Zbigniew Zdanowicz
0eb3bcaf02 performance: enable immediate flush task on xe hpg platforms
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-04 14:03:45 +02:00
Dunajski, Bartosz
a7e0594fd9 fix: add missing dependency wait for in-order appendWaitOnEvents
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-04 11:58:24 +02:00
Zbigniew Zdanowicz
be9d1f0589 fix: update context base address state after execution of regular command list
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-04 11:12:28 +02:00
Dunajski, Bartosz
305d4f3102 fix: add missing check in in-order compute mem copy path
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-04 11:02:13 +02:00