Commit Graph

10161 Commits

Author SHA1 Message Date
82d1962aba Assign BCS at first blit enqueue
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
22.19.23136
2022-05-04 17:11:34 +02:00
4f7a225baf Set PAT programming support during VmBind support query
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-04 16:26:15 +02:00
2b55ca76b8 Move device_binary_format_ar_tests files for dg2 and pvc to proper folders
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-04 16:20:10 +02:00
ba63e3c4b5 Obtain BCS for aux translation only if needed
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-04 15:59:11 +02:00
4896adc655 Fix order of reporting STOPPED THREAD events
- report stopped threads for interrupts after resuming
accidentally stopped threads
- unintended threads will not be available when event
for interrupt is reported

Resolves: NEO-6927

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-04 14:20:07 +02:00
a3fe50c2e4 Revert "Assign BCS at first blit enqueue"
This reverts commit 0469034acb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-04 13:33:25 +02:00
85b47476b6 Add MemorySynchronizationCommand to Blit commands estimation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-05-04 12:25:56 +02:00
556102f760 Add programmers guide section on immediate command lists
Related-To: NEO-6519

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-05-04 12:17:28 +02:00
b1f622d700 Set only base values in GT_SYSTEM_INFO for AOT
In most cases, there was code redundancy, which was minimized in this change.
The setupHardwareInfoBase extraction will also be used in ocloc.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-6910
2022-05-04 10:36:26 +02:00
0469034acb Assign BCS at first blit enqueue
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-04 10:19:05 +02:00
ebe8d051dc Revert "Enable task count from wait on DG2 and later"
This reverts commit bd6c9a222b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-01 09:35:38 +02:00
7b98d782c7 Refactor Zello Metrics
1. Refactor Zello Metrics to seperate Metric Collection,
Workload Execution and Execution environment configuration
functions.
2. Split Zello metrics test to smaller files for better
readability.

Related-To: LOCI-3069

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-04-29 19:03:17 +02:00
67737bb189 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-04-29 16:00:19 +02:00
dd393d11a2 Ocloc: allow enforcing binary format specified by user
This commit adds ocloc option for specifying binary format.
When a --format flag is passed, the internal options will be changed
accordingly to the format specified (zebin/patchtokens) or a warning
will be printed if an unknown format will be passed.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-04-29 15:30:19 +02:00
bd6c9a222b Enable task count from wait on DG2 and later
Signed-off-by: Karol Trojanowski <karol.trojanowski@intel.com>
2022-04-29 14:27:54 +02:00
3b8593fef5 Brand string update
Updating device brand strings
Based on public support in Windows driver 30.0.101.1660
https://www.intel.com/content/www/us/en/download/19344

Signed-off-by: ocldev <ocldev@intel.com>
2022-04-29 14:22:27 +02:00
ca24f1dfe7 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-04-29 14:13:07 +02:00
cb609f5f38 Enable ULLS on DG2
Related-To: NEO-6810

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-29 12:11:05 +02:00
676c7dde4c Allow setting gtest_output for targets
Related-To: NEO-6715
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-04-29 11:43:56 +02:00
73d3d83e60 Assign gpgpu engine at first enqueue
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-29 11:33:12 +02:00
a6490062a9 fix code issues reported by clang 14
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-29 10:43:34 +02:00
96dd1de20c Detect GPU hangs in appendMemoryRangesBarrier()
This change introduces checking the error code returned by
executeCommandListImmediate() inside appendMemoryRangesBarrier().
When GPU hang is encountered, the error code is propagated.
This change contains also ULTs to cover the new code and improve
coverage of that function.

Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-29 08:46:15 +02:00
35a1a3fc2a Fix debug session thread conversion
- convertToPhysical must be called in polymorphic manner,
not on base DebugSession

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-28 18:59:34 +02:00
ac01f74924 style: fix gcc12 compilation errors
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 18:07:15 +02:00
00a1a14652 Revert "Fix multi thread usage of external host alloc"
This reverts commit 54eee2a88b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-28 17:42:07 +02:00
46e4a389c2 Revert "fix rootDeviceIndex issue for PCI reorder"
This reverts commit d797d79f97.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-28 17:20:51 +02:00
ff7400d295 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-28 15:52:29 +02:00
ffd1c430b1 feature: use completion fence value from direct submission when available
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 15:38:11 +02:00
702feba063 Enhance unit test
- expect makeResident calls based on number of ISAs

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-28 15:14:47 +02:00
819d648997 Use single event for multiple kernels
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-28 15:10:04 +02:00
a3745c28a3 Create peekGmmHelper function in CSR
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-28 12:54:32 +02:00
26221678aa Enable engines round robin assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-28 11:49:15 +02:00
72f6ef7d2b Do not submit to gpgpu during blit in immediate dispatch mode
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-28 11:36:42 +02:00
6ac6006217 Fix compilation error of ULTs on Windows
The build of test_cmdlist_append_launch_kernel_1.cpp caused
fatal error C1128 - number of sections exceeded object file
format limit.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-28 10:30:38 +02:00
cfad6ba273 Add check to avoid nullptr usage
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-27 18:13:32 +02:00
f4182e37ee Add debugger support - debug session implementation
Resolves: NEO-6813

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-04-27 17:53:48 +02:00
55dcca993c Apply getPaddingForISAAllocation PVC implementation to PVC and later platforms
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 15:55:39 +02:00
9b778863b4 Store GmmHelper in Gmm class
Store GmmHelper in Gmm class instead of GmmClientContext

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
7eb70775ea Flush caches for cross CSR dependencies
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-27 15:03:27 +02:00
98ecfb1275 test: adjust test to respect patching relocations in module
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-27 13:48:06 +02:00
3900c9d24a Report to StreamProperties whether large grf should be programmed with SCM
Add helper method to UnitTestHelper to query programmed grf values.

Related-To: NEO-6659

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 13:20:14 +02:00
903cf766b3 Revert "Move shared helper files to shared directory"
This reverts commit 459524f129.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-27 13:12:16 +02:00
e3b1d8b43c Improve code coverage of BinaryDecoder
This change contains ULTs for BinaryDecoder.
It is intended to improve code coverage.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-27 11:35:12 +02:00
e007ba499f feat(zebin): add support for build options section
This change:
* Adds support for build options section in zebinary - using
build options in binary when rebuilding.
* Appends "-cl-intel-allow-zebin" flag to build options when zebin is
used.

Resolves: NEO-6916

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-27 11:26:42 +02:00
0d82216f43 Refactor handling unknown builtins
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-27 10:49:16 +02:00
459524f129 Move shared helper files to shared directory
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 10:34:42 +02:00
f6dae5ecf2 Test: Refactor ioctl mock call to be more deterministic
Add flag forceExtraIoctlDuration for controlling duration in
ioctl ULT call.

Related-To: NEO-6537
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 09:32:16 +02:00
31b2433b2f Avoid implicit sync for async mode immediate copy queue
Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-27 08:50:18 +02:00
ced22d45e9 test: enable aub test with nested bbs
Related-To: NEO-6858

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-26 17:59:14 +02:00
ed43964f05 Use Bindless debug sip when L0 debug enabled part 2
- fix module debug area when bindless sip is used

Related-To: NEO-5613

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-26 17:50:12 +02:00