Kacper Nowak
dba54846a1
Zebin: enhance clBuildProgramTests ULTs
...
- Do not use precompiled binaries in clBuildProgramTests.
This change is required in order to enable zebin switch by default.
Related-To: NEO-7281
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-04 19:23:23 +01:00
Krystian Chmielewski
23bb199a15
vme kernels - fallback to ctni
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-04 18:38:01 +01:00
Mateusz Jablonski
1c3d5c3892
Prepare mechanism for returning GPU execution error on OCL API
...
translate task count value to OCL error
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 15:54:19 +01:00
Krystian Chmielewski
78d75dee0f
Use mock in KernelArgInfoTest
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-04 14:09:47 +01:00
Krystian Chmielewski
d72a5097b7
Remove unneded ocl test files compilation
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-04 14:09:31 +01:00
Krystian Chmielewski
bb277c0830
Fix sub group info test
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-04 13:32:00 +01:00
Compute-Runtime-Validation
83f63e0008
Revert "Ocloc - fix binary output filename with "-output_no_suffix""
...
This reverts commit 3ca628c388 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-03 21:28:39 +01:00
Mateusz Hoppe
3ca628c388
Ocloc - fix binary output filename with "-output_no_suffix"
...
Resolves: NEO-7474
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-03 18:27:02 +01:00
Luzynski, Sebastian Jozef
91c69e0fe7
Patch global variables and constants once
...
This change replaces mechanism of patching global constants and
variables in kernel per relocation to patching them only once. This
would improve linking time performance for kernels with multiple global
symbols.
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com >
2022-11-03 17:45:09 +01:00
Maciej Plewka
9fa6f1075e
Use globalMemSize from deviceInfo to compare private/scratch size
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-03 16:13:05 +01:00
Kacper Nowak
709e322a4a
feat(zebin): get extended args metadata on clGetKernelArgInfo API call
...
This commit adds support for retrieving extended args metadata passed in
.kernel_misc_info zeInfo's section on clGetKernelArgInfo call.
Related-To: NEO-7372
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-03 13:15:09 +01:00
Warchulski, Jaroslaw
f0a9533c83
Improve error reporting in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-03 09:29:46 +01:00
Krystian Chmielewski
52b1d92193
Mock debug program instead of using binaries
...
Removes usage of precompiled binaries in debug program tests.
Related-To: NEO-7383
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:50:42 +01:00
Krystian Chmielewski
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
Maciej Plewka
7f38c5e633
Revert "Return error code for unsuported image arg in gen12lp"
...
This reverts commit bbc31e6aac
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2022-11-02 12:57:16 +01:00
Maciej Plewka
ff01b9361e
Return error code when there is no space for scratch/private
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-02 11:55:18 +01:00
Mateusz Jablonski
5d3b665ea0
ULT: Move Xe product specific tests shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-02 11:30:21 +01:00
Mateusz Jablonski
0f8489b5f8
ULT: Move product specific tests to shared (gen9-gen12lp)
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-02 11:30:04 +01:00
Compute-Runtime-Validation
308f54e4eb
Revert "Apply basic WA only for multi CCS on DG2"
...
This reverts commit 5a2f00d295 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-31 03:27:29 +01:00
Compute-Runtime-Validation
33d9c5979a
Revert "Enable flush task for immediate command lists"
...
This reverts commit 95c3ef28fc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-29 15:48:44 +02:00
Aravind Gopalakrishnan
95c3ef28fc
Enable flush task for immediate command lists
...
Previously enabled for: DG2, PVC.
With this commit enabling for Gen9 onwards.
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-28 19:17:42 +02:00
Katarzyna Cencelewska
bbd75959d5
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Changes affect cores up to xe_hpg
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-28 16:26:53 +02:00
Lukasz Jobczyk
5a2f00d295
Apply basic WA only for multi CCS on DG2
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-28 11:34:52 +02:00
Lukasz Jobczyk
1f9a5b878f
Configure env variables when CAL enabled
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-27 16:18:11 +02:00
Mateusz Jablonski
2df001327a
Unify meaning of RebuildPrecompiledKernels across OCL and L0 APIs
...
Resolves: NEO-7364
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-10-27 15:17:24 +02:00
Dunajski, Bartosz
7ff37cd5fd
Ftr/WA flags cleanup
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-26 12:11:31 +02:00
Dunajski, Bartosz
fad7f10b7b
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 16:24:43 +02:00
Mateusz Hoppe
8980b2b817
Ocloc: Remove unneeded code from generated cpp file
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-25 11:21:09 +02:00
Warchulski, Jaroslaw
903e3c725a
Stop using gen files in unit tests
...
Related-To: NEO-6613
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-10-25 11:04:57 +02:00
Mateusz Hoppe
9c237d99ec
Ocloc - Do not add "kernel-debug-enable" when "-g" is passed
...
Resolves: NEO-7436
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-25 08:55:55 +02:00
Krystian Chmielewski
0ef6b9b64c
Zebin manipulator - create dump directory fix
...
This commit fixes problem in zebin manipulator when dump was not
created.
* Explicitly create dump directory.
* Add slash to dump argument.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-24 20:44:27 +02:00
Maciej Plewka
bbc31e6aac
Return error code for unsuported image arg in gen12lp
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-10-24 16:54:10 +02:00
Katarzyna Cencelewska
2137ece808
Revert "Add missing check during buffer create"
...
This reverts commit 54faccb .
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-24 09:22:52 +02:00
Jim Snow
f976c7a313
Revert "Allocate RTDispatchGlobals as unboxed array"
...
This reverts commit eaa4965ae8 .
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-10-24 05:16:03 +02:00
Compute-Runtime-Validation
052164c559
Revert "Use total SLM instead of inline in error checking"
...
This reverts commit e1c49d0f23 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-22 09:41:36 +02:00
Yates, Brandon
518016f20f
L0 Debug - Zero init debug surface in windows
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-21 18:36:14 +02:00
Fabian Zwolinski
e1c49d0f23
Use total SLM instead of inline in error checking
...
Related-To: NEO-7280
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-10-21 12:39:48 +02:00
Kamil Diedrich
380e2dcc35
[WSL2] Avoid gdi calls while process exit
...
Related-To: NEO-7380
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-21 12:37:07 +02:00
Kacper Nowak
553e194379
Ocloc: Enhance ocloc ULTs - ensure compatibility with zebin
...
This commit fixes ocloc ULT failure with zebin enabled by default.
Remove depencendy on precompiled binaries, instead use mock CTNI binary.
Related-To: NEO-7383
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-10-20 07:50:18 +02:00
Krystian Chmielewski
510ba12cbc
Use DSS when calculating max wgs on TGLLP and DG1
...
Use DualSubSlice count instead of SubSlice count when calculating wgs on
TigerLake LP and DashG1.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-19 12:23:51 +02:00
Dominik Dabek
abe4e0cb91
Fix case style
...
Test fixture classes will use correct camel case
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-19 09:41:45 +02:00
Dominik Dabek
d1a6054af9
enable create subBuffer from pooled buffer
...
Allow creating subBuffer from buffer from buffer pool allocator
by redirecting the call to the pool buffer and adjusting offset
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-19 09:33:10 +02:00
Kacper Nowak
f06df021b5
feat(zebin): Add support for indirect stateless count
...
Add support for newly added indirect statelss count check;
populate related field in kernelInfo.
- Move hasIndirectStatelessAccess check from KernelInfo to
KernelDescriptor.
Related-To: NEO-7428
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-10-19 07:58:02 +02:00
Compute-Runtime-Validation
fb453f5190
Revert "Enable flush task for immediate command lists"
...
This reverts commit a4eb78d524 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 03:32:53 +02:00
Aravind Gopalakrishnan
a4eb78d524
Enable flush task for immediate command lists
...
Enabling for all platforms
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-18 17:17:05 +02:00
Zbigniew Zdanowicz
565d820933
Replace virtual method call for DC flush with stored bool value 3/n
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-18 15:04:02 +02:00
Krystian Chmielewski
c224fd0666
Require LWS to be in ascending format X >= Y >= Z
...
This change fixes problem with memory locality.
When calculating work group size do not take into account
work group sizes where there's bigger number of elements in
higher dimensions namely: Y>X or Z>Y.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-18 13:23:57 +02:00
Compute-Runtime-Validation
5e36b1fcbf
Revert "Calculate CS timestamp based on OA timestamp and frequencies ratio"
...
This reverts commit 03c528382f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-16 11:14:46 +02:00
Joshua Santosh Ranjan
b2c80be6f9
Fix typo and error check when retrieving pci information
...
Fix
1. typo PhysialDevicePciSpeedInfo to PhysicalDevicePciSpeedInfo
2. error check to verify open() call
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-14 14:57:07 +02:00
Lukasz Jobczyk
f4c40c74cb
Flush tag update if any heap was allocated
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-14 13:12:43 +02:00