Commit Graph

5015 Commits

Author SHA1 Message Date
Mateusz Jablonski 43e3957e66 fix: add nullptr check in cache reservation API
in case of AUB/TBX mode there is no os interface

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 15:43:35 +02:00
Kamil Kopryk 6d7e2760dc refactor: correct expectations in level zero tests if heapless enabled 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-03 15:11:59 +02:00
Mateusz Jablonski 7adfa344c0 performance: get reference from getBindlessInfo
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 12:50:52 +02:00
Wenbin Lu 93cde3ee12 feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-09-03 11:38:51 +02:00
Mateusz Jablonski c0cec096a5 fix: don't return gtpin init error from L0 API call
gtpin should be transparent for application

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-02 17:41:08 +02:00
Mateusz Hoppe d5e275cb49 performance: optimize surface state programming
- eliminate read-modify-write on gfx memory when global bindless mode
enabled

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-02 15:31:30 +02:00
shubham kumar 5c3012a4a7 fix: correct pmt temperature offset
Related-To: NEO-12515

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-02 14:57:11 +02:00
Joshua Santosh Ranjan ef779165ec refactor: use appropriate debug macros
Related-To: NEO-11034


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-09-02 11:32:51 +02:00
shubham kumar 484684c762 fix: Correct maxBandwidth unit conversation in pmt
Related-To: NEO-12297

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-02 09:51:12 +02:00
Mateusz Hoppe ae3edba369 feature: limit contexts in group based on number of CCS engines
Related-To: NEO-12258, HSD-14023076222

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-30 19:55:31 +02:00
Kamil Kopryk 8a80673ca7 test: correct expectations in level zero tests if heapless enabled 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-30 19:55:01 +02:00
Zbigniew Zdanowicz 85c1f71257 test: add option to pass extra build flags to build scratch kernel function
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-30 18:32:56 +02:00
Mateusz Jablonski c934877790 refactor: remove not needed function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-30 12:18:14 +02:00
Aravind Gopalakrishnan 20aa853369 feature: Append recorded commandlist into immediate (5/N)
- add support for heapless mode

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-08-30 09:23:59 +02:00
Mateusz Jablonski dec502e11b fix: add magic identifier to L0 command queue object
add tests for toInternalType function

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-29 16:39:29 +02:00
Mateusz Jablonski c8ead35afa test: correct adding subdirectories in test cmake files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-29 16:16:05 +02:00
Aravind Gopalakrishnan a9cb7876a5 feature: Append recorded commandlist into immediate (4/N)
- add changes for copy queue support for immediate cmdlist submit

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-08-29 09:35:31 +02:00
shubham kumar a467b30842 fix: Correct maxBandwidth unit conversation in pmt
Related-To: NEO-12475

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-29 02:20:20 +02:00
Fabian Zwoliński 6a50320f3c fix: use gpuAddress when patching sync buffer
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-08-28 17:47:35 +02:00
Mateusz Jablonski d45c16dfc2 fix: add fallback for invalid handles in extension functions
handle context, commandlist, driver, device, event, image and kernel handles

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-28 17:22:35 +02:00
Kamil Kopryk a57fa2e137 test: correct expectations in level zero tests if heapless enabled 1/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-28 15:45:13 +02:00
Bartosz Dunajski db611962f7 fix: improve task count handling in tbx download path
Related-To: HSD-18039789178

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-28 15:32:15 +02:00
Mateusz Hoppe 482e077252 feature: add regular and hp contexts in group without dedicated hp engine
- if no hp copy engine available, create group with regular and hp
contexts

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-28 14:01:10 +02:00
Zbigniew Zdanowicz 1070df4c54 test: add build option to scratch kernel
- add option to force spill fill
- move preparation code to shared library

Related-To: NEO-12158

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-28 13:37:17 +02:00
Mateusz Hoppe ce07b86d87 fix: return valid LP csr from root device
Related-To: NEO-12257

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-27 23:33:57 +02:00
Mateusz Jablonski b7cedb99a4 fix: move gtpin initialization to first zeDriverGet call
Currently gtpin is intialized during zeInit call. However, it is not
correct as gtpin is calling other L0 API functions, like zeDriverGet
which should not be called until zeInit function finishes.

With this commit gtpin initialization is performed during first
zeDriverGet function call. In case of initialization failure
ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE will be returned every
zeDriverGet call.

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-27 15:09:04 +02:00
Bartosz Dunajski 85359331ce fix: ensure couterbased timestamps writes before access
Related-To: HSD-18039452525

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-27 15:04:32 +02:00
Mateusz Jablonski da6a83faa2 feature: add support for state save area header v4
Related-To: NEO-8188
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-26 16:03:20 +02:00
Vishnu Khanth 44658fb7d9 fix: Update appropriate values in PCI property & state for Windows
Related-To: NEO-12320

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2024-08-26 11:39:25 +02:00
Damian Tomczak df9fa343d1 feature: limit max workgroup size to 1k items
Resolves: NEO-11881

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-08-26 09:20:51 +02:00
Compute-Runtime-Validation 5dbbaa39b9 Revert "fix: ulls controller sleep, windows"
This reverts commit 6455d4648c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-24 06:37:58 +02:00
Compute-Runtime-Validation 956dd8e17d Revert "fix: set properly resource params when setAllocationType"
This reverts commit 2e0884a301.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-24 05:01:38 +02:00
Mateusz Hoppe 8d32a3a3ad feature: use global bindless allocator in L0 on DG2
Related-To: NEO-7063, NEO-11533

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-23 19:30:38 +02:00
Bartosz Dunajski 1795642da9 fix: disallow enabling synchronized dispatch on non-ioq queues
Related-To: HSD-18039265269

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-23 19:30:24 +02:00
Kamil Kopryk 0f310036a0 test: correct expectations in ults if heapless is enabled 13/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-23 18:07:28 +02:00
Katarzyna Cencelewska 2e0884a301 fix: set properly resource params when setAllocationType
gmm params: usage, cachable and resource info
should be set properly when override allocation type

Resolves: HSD-22020344331
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-08-23 16:57:23 +02:00
Kamil Kopryk 78758b9f89 test: set ccs and rcs exposure in ults
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-23 15:28:34 +02:00
Mateusz Hoppe c9e8931a18 fix: global bindless offsets for implicit args
- do not patch bindless offsets for implicit args in with global bindless
allocator, the offsets are patched at kernel initialization time and
do not change

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-23 13:21:27 +02:00
Mateusz Jablonski 3e5dec27ef refactor: remove not needed struct
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-23 13:08:49 +02:00
Dominik Dabek 6455d4648c fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-23 12:05:26 +02:00
Bartosz Dunajski 696b02bfd3 fix: improve TBX downloading after L0 Event sync
Related-To: HSD-18038498579

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-23 10:42:17 +02:00
Mateusz Jablonski 5b51146673 fix: fail L0 device creation when invalid state save area header was delivered
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-22 16:24:40 +02:00
Filip Hazubski f87673e761 fix: Add missing check to DebugSessionImp::readFifo function
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-22 15:19:43 +02:00
Filip Hazubski 556ba1b7c4 performance: Avoid data copy in getPciStats function
Additionally explicitly remove unused functions of Directory and
StagingBuffer classes to comply with rule of five.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-22 13:30:01 +02:00
Bartosz Dunajski 716c557cdb feature: update region barrier size allocation
Related-To: NEO-11031

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-22 12:21:11 +02:00
Mateusz Jablonski 7ac41615cd fix: create thread with function pointer
don't create async thread in neo shared tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-21 18:02:37 +02:00
Winston Zhang 0590b34cfa feature: refactor and rewrite setErrorDescription
Related-To: NEO-8379

Signed-off-by: Winston Zhang <winston.zhang@intel.com>
2024-08-21 17:26:25 +02:00
shubham kumar 60711a169e feature: Add support for DC limits in peak power
Related-To: NEO-12290

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-21 15:54:47 +02:00
Szymon Morek f2fd669011 fix: call wait after post-processing
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-21 12:46:18 +02:00
Mateusz Hoppe 657b413658 test: use api specific kernels in aub test
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-21 11:23:25 +02:00