Commit Graph

3052 Commits

Author SHA1 Message Date
Dunajski, Bartosz
9779f66fde feature: return error when CB Event is passed to non-inOrder CmdList
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-29 10:13:23 +01:00
Hazubski, Filip
add635a605 fix: Add explicit checks to avoid dividing by 0 in memory copy region
Signed-off-by: Hazubski, Filip <filip.hazubski@intel.com>
2023-11-28 14:55:02 +01:00
Dunajski, Bartosz
143ca69bda refactor: update unit test
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-28 12:23:49 +01:00
Dunajski, Bartosz
88cccaf328 feature: add support for ForceBcsEngineIndex flag 2
Related-To: NEO-8356

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-27 16:38:04 +01:00
Dunajski, Bartosz
eee07188dc refactor: add new params to CmdListKernelLaunchParams struct
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-27 11:40:16 +01:00
Lu, Wenbin
37deaf1ae5 fix: serialize printf kernel accesses using device-wise locks
Related-To: LOCI-4114

Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com>
2023-11-27 10:42:51 +01:00
Mateusz Hoppe
83ac95d293 fix: L0 - remove synchronization with events on appends in tbx mode
Related-To: NEO-9400

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-27 10:39:55 +01:00
Kamil Kopryk
982c2d665b feature: add programming heapless mode in SBA
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-11-24 15:29:19 +01:00
Dunajski, Bartosz
27751ac0cb feature: skip implicit in-order semaphores after host sync
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-24 14:53:38 +01:00
Kamil Kopryk
ce7298d512 feature: Add heapless mode programming in ocl
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-11-24 12:53:39 +01:00
Compute-Runtime-Validation
9c88e2b8a0 Revert "feature: add support for ForceBcsEngineIndex flag"
This reverts commit d9b3fd0623.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-24 05:23:54 +01:00
Dunajski, Bartosz
aba1cd8f9c feature: improve waiting and signaling Events via KMD calls
Related-To: NEO-8179

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-23 14:53:27 +01:00
Mateusz Hoppe
7ffd151ac3 fix: adjust numArgsStateful based on binding table entries
- global and const buffer may have BTI index allocated, ssh template
must be allocated with size for all stateful args

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-23 12:15:39 +01:00
Dunajski, Bartosz
c281b66587 feature: disable implicit counter based Events transition in IPC mode
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-23 12:12:18 +01:00
Lukasz Jobczyk
ac8c00048e performance: optimize svm allocation tracking
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-23 10:54:01 +01:00
Dunajski, Bartosz
d9b3fd0623 feature: add support for ForceBcsEngineIndex flag
Related-To: NEO-8356

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-22 23:07:46 +01:00
Mateusz Jablonski
914a1f980f fix: don't return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE from linking module
https://github.com/intel/compute-runtime/issues/692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-21 13:38:20 +01:00
Mateusz Hoppe
70beb8834d test: improve aub tests - do not reset csrs
- CSRs do not need to be reset to Aub/Tbx csrs, they are already created
properly
- only AUBFixture in L0 and OCL is changed

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-21 11:25:57 +01:00
Mateusz Jablonski
35c1f34672 refactor: move number of threads per eu to release helper
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-20 12:16:33 +01:00
Mateusz Hoppe
2b35c2374b test: refactor aub tests to create Aub/Tbx csr
- aub_tests should create AUB/TBX csr, this will prevent using empty
UltCommandStreamRecevier if CSR is not overriden in device

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-20 10:41:21 +01:00
He, Wenju
1b62e5018a test: fix re-compilation in test zello_bindless_kernel
On DG2 with usRevId = 8, zeModuleCreate re-compiled the module in
stateful mode because ocloc compiled binary's productConfig is
DG2_G10_A0, while the device's aotConfig value is DG2_G10_C0.
Provide -revision_id option to oclocInvoke to fix the issue.

Related-To: NEO-7063
Signed-off-by: He, Wenju <wenju.he@intel.com>
2023-11-20 10:27:25 +01:00
Dunajski, Bartosz
9a3fea9849 feature: disable IPC for CB Events
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-17 11:27:32 +01:00
Dunajski, Bartosz
470ab44d35 feature: add Counter Based Events to extension list
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-17 11:10:56 +01:00
Dunajski, Bartosz
3fc3223521 refactor: reduce number of memcpy to event allocation
Instead of doing multiple small copies, copy single block only once

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-16 13:13:49 +01:00
Fabian Zwolinski
f91757c093 fix: enable 4KB allocation alignment through KMD on Windows
Related-To: NEO-9446
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-11-16 13:04:23 +01:00
Compute-Runtime-Validation
7f61217a44 Revert "performance: optimize svm allocation tracking"
This reverts commit e91ce78ec8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-16 11:03:19 +01:00
Lukasz Jobczyk
e91ce78ec8 performance: optimize svm allocation tracking
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-15 13:58:05 +01:00
Mateusz Jablonski
78b01e25d3 fix: correct number of returned L0 drivers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-15 10:14:11 +01:00
Dominik Dabek
961a8d91d0 refactor: move gmm constructor flags to struct
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-11-15 09:26:13 +01:00
Lukasz Jobczyk
9a8138725a fix: Deferred SVM allocations look up by gpu address
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-14 15:27:01 +01:00
Dunajski, Bartosz
0a99d389ce feature: new API to wait on 64b memory value
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-14 13:58:27 +01:00
Dunajski, Bartosz
55ef9516f2 feature: update waitOnMemory API to accept 64b values - part 1
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-14 10:40:24 +01:00
Dunajski, Bartosz
30777d4d4c feature: use indirect semaphore for 64b values
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-09 16:58:45 +01:00
Baj, Tomasz
10a97548c2 refactor: remove ReturnSubDevicesAsApiDevices from OCL and L0
Related-To: NEO-9437

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2023-11-09 15:43:06 +01:00
Mateusz Jablonski
6d67198b4f fix: fix ubsan issues in L0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-09 12:08:30 +01:00
John Falkowski
ff480efe7a fix: account for default chunking flag for shared prefetch determination
This PR accounts for default value of EnableBOChunking recently set to -1.

Related-To: NEO-9120

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-11-09 00:40:21 +01:00
Dunajski, Bartosz
a0beb96db8 feature: initial support for implicit convertion to CounterBased Events
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-08 14:59:12 +01:00
Dunajski, Bartosz
597b3637b3 fix: assign counter based event info in cpu copy path
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-08 12:55:25 +01:00
Mateusz Jablonski
e81a7be048 test: correct definition of WhiteBox of CommandListImp
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-07 13:53:27 +01:00
Mateusz Hoppe
1c37da280c fix: fix bindless offset patching for images
- usingSurfaceStateHeap indicates if any of the args is using local ssh
in bindless kernels:

without global allocator - ssh is used for all args
with global bindless allocator - ssh used only for buffer with offset
set in surface state, otherwise not used

When any of the args is using ssh - getSurfaceStateHeapDataSize() returns
non-zero size.

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-07 11:39:49 +01:00
Young Jin Yoon
3782b4bd0e feature: add functions to get/set VA space
Added an extension version of zeContextGetVirtualAddressSpaceIpcHandle
and zeContextPutVirtualAddressSpaceIpcHandle, which return
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE for now.

Related-To: NEO-8259

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2023-11-06 20:08:45 +01:00
Dunajski, Bartosz
d699cd2a57 feature: experimental Counter Based Event support 2
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-06 14:33:10 +01:00
Compute-Runtime-Validation
ec24eb0a4c Revert "fix: correct number of returned L0 drivers"
This reverts commit dcb351e9dd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-04 02:24:26 +01:00
Spruit, Neil R
81fe42aaf5 fix: Avoid globalmemSize calc if physical Mem Size is greater than zero
Related-to: NEO-9050

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-11-03 16:50:15 +01:00
Dunajski, Bartosz
ddd1e8df5e feature: enable in-order counter waits if temp allocation storage is empty 2
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-03 14:50:15 +01:00
Dunajski, Bartosz
1c44f02e84 fix: signal in-order counter for Barrier after Event
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-03 14:29:33 +01:00
Mateusz Jablonski
dcb351e9dd fix: correct number of returned L0 drivers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-03 13:53:25 +01:00
Mateusz Jablonski
2094d16f1f test: cleanup includes in L0 fixtures
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-03 13:23:25 +01:00
Mateusz Jablonski
b487b00ade test: refactor L0 mock device to allow forward declaration
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-03 10:11:55 +01:00
Compute-Runtime-Validation
da9adc6797 Revert "feature: experimental Counter Based Event support"
This reverts commit a8c79e0ba1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-03 10:00:52 +01:00