Mateusz Jablonski
e11eb46bff
Unify logic for programming mocs in post sync struct
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-25 17:01:51 +01:00
Patryk Wrobel
41a8972772
Test functionality of Source helper class
...
This change introduces unit tests for Source class,
which is a helper of ocloc_arg_helper.
The original functionality has been improved to preserve
last line even if it does not contain trailing new line sign.
Moreover, empty lines are skipped since this change.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-25 13:52:40 +01:00
Bartosz Dunajski
be50afb930
Add and enable Direct Submission ring switch tag update WA
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-25 12:26:29 +01:00
Zbigniew Zdanowicz
e4d8dfcdd9
Implement fence creation flag
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-25 12:04:43 +01:00
Zbigniew Zdanowicz
bb753784cc
Optimize post sync operations for fence and task count update
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-25 10:57:10 +01:00
Daria Hinz
efa57f734b
Reset GT_SYSTEM_INFO values in ocloc
...
For AOT compilation, we don't want to set random/default values.
The uploaded structure to IGC will be reset.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-25 10:17:18 +01:00
Lukasz Jobczyk
a230f267e1
Poll task count indefinitely on high throttle command queue
...
Resolves: NEO-6781
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-25 10:06:16 +01:00
Compute-Runtime-Validation
0c064ccf4c
Revert "Enable task count update from wait"
...
This reverts commit 5118a5d3a6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-25 00:09:52 +01:00
Mateusz Hoppe
a783f463c4
Enable bindless aub test for all platforms
...
Related-To: NEO-6515
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-03-24 20:10:36 +01:00
Compute-Runtime-Validation
525470917f
Revert "Clean up resources in final derived csr class"
...
This reverts commit 737e6e4de5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-24 19:12:20 +01:00
Kacper Nowak
5477cb6b8c
Correct typo
...
- Replace "aligMent" with correct "aligNMent"
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-24 17:46:49 +01:00
Rafal Maziejuk
dea671a04c
Correct IMAGE1D_BUFFER width size calculation in BCS
...
Buffer's default bytesPerPixel value always equals 1 and as
IMAGE1D_BUFFER is originally an image, X coordinate needs to be
multiplied by bytesPerPixel (implied by image format)
in both copySize and (src/dst)Size.
Signed-off-by: Rafal Maziejuk rafal.maziejuk@intel.com
Related-To: NEO-6134
2022-03-24 17:15:38 +01:00
Daniel Chabrowski
fc8e795f26
Remove use of alternative not operator
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
2022-03-24 13:13:34 +01:00
Kacper Nowak
cc0c98e974
Enable ocloc disasm for .gen files
...
This commit allows to use "disasm"
ocloc option to be used with .gen files.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-24 12:53:22 +01:00
Patryk Wrobel
14954acd12
Detect GPU hang in command list immediate
...
This change introduces checking of values returned
by blocking calls used in cmdlist_hw_immediate.inl.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
Related-To: NEO-6681
2022-03-24 12:42:19 +01:00
Kamil Kopryk
f3bf5498a4
Fix typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-03-24 12:34:48 +01:00
Krzysztof Gibala
ebc006ad53
Move SBA related WAs logic from CSR to EncodeWA
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-03-24 12:24:56 +01:00
Artur Harasimiuk
52da8f7260
allow external definition of NEO_KERNELS_BIN_DIR
...
Related-To: NEO-6783
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-03-24 12:00:46 +01:00
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