Commit Graph

10066 Commits

Author SHA1 Message Date
Kamil Kopryk
c56046fd29 Move pvcSteppingBits to PVC struct
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-24 11:56:39 +01:00
Lukasz Jobczyk
737e6e4de5 Clean up resources in final derived csr class
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-24 11:41:22 +01:00
Kamil Kopryk
c415edaba1 Improve isGlobalFenceInCommandStreamRequired helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-24 11:27:54 +01:00
Kamil Kopryk
ea3eb2ea23 Improve hwInfoConfig xe_hpc_core helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-24 11:17:58 +01:00
Mateusz Jablonski
8a8b4866cb XeHPC: force local memory for command/ring/semaphore buffer
require 48bit resource for ring/semaphore buffer
for multi tile allocations select first tile
for single tile allocation select preferred tile

Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-24 10:54:26 +01:00
Zbigniew Zdanowicz
814b0ecb87 Improve wait function for Fence object
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-24 10:48:49 +01:00
Bellekallu Rajkiran
cf9a5ed7d7 Add prelim support for ras diagnostics and firmware
Related-To: LOCI-2864

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-24 06:58:25 +01:00
Joshua Santosh Ranjan
6e14df9b84 Metrics Ip sampling Avoid retries when starting measurement
This patch avoids retrying if ioctl fails.

Related-To: LOCI-3010

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-24 02:24:43 +01:00
Kacper Nowak
1b6a907b13 Code refactor
This commit:
- Optimizes usage of std::unordered map
- Corrects variables naming and output messages
- Minor changes in using std::string methods
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-23 23:12:21 +01:00
Raiyan Latif
f6c5995219 Account for hwInfo when checking for implicit scaling support
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-03-23 19:16:03 +01:00
Joshua Santosh Ranjan
71abef22bd Code cleanup
This patch fixes missed type-casting.

Related-To: LOCI-3022

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-23 19:05:48 +01:00
Zbigniew Zdanowicz
5f702e0cfa Split command list unit tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-23 15:19:35 +01:00
Kamil Kopryk
f9e22d96a9 Correct xe_hpc excludes
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-23 14:56:43 +01:00
Kamil Kopryk
30ca074f73 Compile gen specific kernels
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-23 14:37:11 +01:00
Milczarek, Slawomir
f03f530327 Extend zeCommandListAppendMemoryPrefetch to migrate to associated device
Related-To: NEO-6740

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-03-23 14:21:17 +01:00
Baj, Tomasz
1f7fd45251 Move device UUID from L0 to shared
Related-To: NEO-5681

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-03-23 12:52:24 +01:00
Lukasz Jobczyk
5118a5d3a6 Enable task count update from wait
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-23 11:38:50 +01:00
Jim Snow
af339101d8 infra update
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-03-22 23:10:32 +01:00
Fabian Zwolinski
ff1ee9fdb9 Remove gmock includes in opencl and shared
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-22 22:55:39 +01:00
Patryk Wrobel
e4d56cde21 Detect GPU hangs in blocking enqueue handler calls
This change introduces detection of GPU hangs in blocking
calls to enqueueHandler() function. Moreover, usages of
this function template have been revised and adjusted to
check the exit code. Furthermore, enqueueBlit() and
dispatchBcsOrGpgpuEnqueue() functions returns value now.
ULTs have been added to cover new cases.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
Related-To: NEO-6681
2022-03-22 21:06:19 +01:00
Patryk Wrobel
05e17e90d8 Remove dead code from tests - SurfaceMock
This change removes unused mock, which was
defined in source file of tests.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-03-22 16:38:46 +01:00
Fabian Zwolinski
3d8effcd69 Clean-Up unused code related to GMock
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations

Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-22 16:16:34 +01:00
Kamil Kopryk
a23bfbc8ed Shorten the names of aub tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
22.13.22789
2022-03-22 14:13:25 +01:00
Daniel Chabrowski
28b867f883 Move and extend local memory DRM allocations
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-22 13:47:05 +01:00
Lukasz Jobczyk
60ed4c4e1f Enable timestamp wait mechanism
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-22 13:12:36 +01:00
Jitendra Sharma
f52f3df274 Add platform specific getter of debug surface size
For different platforms based on number of available threads
and debug surface layout, calculate max debug surface size.

Related-To: NEO-6676
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-03-22 12:18:40 +01:00
Lukasz Jobczyk
fec738208a Assign data to overwritten bcs barrier timestamps
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-22 11:54:11 +01:00
Bartosz Dunajski
05a0664720 Change default lod preclamp mode in sampler_state
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-22 11:24:09 +01:00
Kamil Kopryk
04a141698e Improve getThreadEuRatioForScratch helper
Related-To: NEO-6738

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-03-22 10:47:02 +01:00
Bartosz Dunajski
0fd8b850a6 Support for enabling perf counters with clCreateCommandQueueWithProperties
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-22 10:33:40 +01:00
Kamil Kopryk
073e15d75e Change macro for ult
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-22 10:13:45 +01:00
Kamil Kopryk
bf559ed028 Correct xe_hpc_core ults
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-21 17:19:07 +01:00
Filip Hazubski
9c06af79ad Remove programming first SCM from the command list
For first kernel in command list the required state described with SCM
command is stored and programmed when the command list is executed, only
if current stream state requires reprogramming.

Resolves: NEO-6728

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-21 11:24:07 +01:00
Artur Harasimiuk
2c16ac9355 code cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-03-21 10:51:43 +01:00
Kacper Nowak
50aeae41bf Remove custom _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE definition
This commit removes custom definition of
_PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE and
instead uses one provided by IGC.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-21 10:44:27 +01:00
Zbigniew Zdanowicz
46f4472965 Refactor Fence class interface and implementation
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-21 10:35:26 +01:00
Mateusz Jablonski
3792481d33 XeHPC Implicit scaling: put command/ring/semaphore buffer to first memory bank
In direct submission scenario command/ring/semaphore buffer allocations
are placed in the same memory bank to ensure that their memory is updated in
correct order

Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-21 08:10:50 +01:00
Compute-Runtime-Validation
aa7ba69746 Revert "Enable timestamp wait mechanism"
This reverts commit 1c0502733f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-20 07:02:16 +01:00
Compute-Runtime-Validation
be9ce8ee12 Revert "Add report of extension cl_intel_split_work_group_barrier"
This reverts commit 08a4df80e5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-19 02:49:38 +01:00
Lukasz Jobczyk
e870643c41 Adapt direct submission controller to implicit scaling
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-18 18:33:36 +01:00
Rafal Maziejuk
6ee5c0f677 Add appendBaseAddressOffset function to BlitCommandsHelper
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-18 16:46:15 +01:00
Fabian Zwolinski
726b676983 Remove DrmMockImpl and use DrmMock instead
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-18 15:45:48 +01:00
ocldev
72828f62ba dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-03-18 14:27:35 +01:00
Lukasz Wesierski
08a4df80e5 Add report of extension cl_intel_split_work_group_barrier
Related-To: NEO-6746
Signed-off-by: Lukasz Wesierski <lukasz.wesierski@intel.com>
2022-03-18 14:06:29 +01:00
Filip Hazubski
35240e8533 Correct DispatchFlags initialization for immediate command list execution
With executeCommandListImmediateWithFlushTask set flag
containsAnyKernel to false to properly handle next kernel being added to
the immediate command list.

Related-To: NEO-6728

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-18 13:25:56 +01:00
Artur Harasimiuk
10ffe78fc6 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-03-18 13:17:13 +01:00
Zbigniew Zdanowicz
1540d06c25 Correct infinite timeout argument for event synchronization
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-18 13:07:09 +01:00
Grzegorz Choinski
a968cb223e disable metrics discovery detection
Disabling metrics discovery detection due to conflicts that the name libmd
creates with packages from ubuntu.

Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-03-18 12:18:14 +01:00
Daniel Chabrowski
754efbdaff Cleanup mocks
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-18 11:54:03 +01:00
Lukasz Jobczyk
1c0502733f Enable timestamp wait mechanism
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-18 11:45:01 +01:00