dd01cff879
Unify logic determining thread arbitration policy value
...
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-08 13:14:56 +01:00
d5fedf90c5
Fix for svm pointer arg caching
...
Previous version could cause segfaults.
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-08 12:13:15 +01:00
865ef4d039
Add RPL-S device IDs
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-08 11:23:57 +01:00
80b520bc9b
Change ThreadArbitrationPolicy enum type to int32_t
...
Change ThreadArbitrationPolicy::NotPresent value to -1
Update initial values to ThreadArbitrationPolicy::NotPresent
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-07 20:04:24 +01:00
c612480f16
Add DG2 device ids
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-07 19:53:28 +01:00
f91ae9d59c
Add multithread enqueue blit OOQ test
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-07 11:17:27 +01:00
a010fb3634
Dont close shared handle on imported allocations
...
Related-To: LOCI-2272
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-03-06 04:35:47 +01:00
a0084d4e44
Move command buffers on PVC to local memory.
...
Better performance of fetching commands.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-04 15:26:24 +01:00
0ccce5a6d7
Zebin: set kernel barriers based on ext funcs
...
This change allows for modifying kernel's barrier count
based on called external functions metadata passed
via zeInfo section in zebin.
Added parsing external functions metadata.
Added resolving external functions call graph.
Added updating kernel barriers based on called external functions.
Added support for L0 dynamic link.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-03-04 14:21:50 +01:00
6658768149
Add check in XY_BLOCK_COPY_BLT surface width, height & depth setters
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-03-03 16:35:51 +01:00
e526cc470b
Revert "Add multithread enqueue blit OOQ test"
...
This reverts commit 0919cad885
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-03 16:06:15 +01:00
999c6424a4
While enqueue blit do not flush gpgpu if already flushed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-03 13:01:57 +01:00
721c59d3d5
Move to StackVec for timestamp packet container.
...
Do not use std::vector in hot path.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-03 10:34:06 +01:00
7ab86d44d6
Improve caching in clSetKernelArgSVMPointer
...
Check allocId earlier and also reuse if allocationsCounter did not
change from last call.
Related-To: NEO-6737
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-02 15:56:21 +01:00
385c60948e
Treat IMAGE1D_BUFFER type as buffer in BCS
...
This type of image needs to be treated as buffer in order to
allow width to be greater than 16383.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6134
2022-03-02 15:41:15 +01:00
0919cad885
Add multithread enqueue blit OOQ test
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-02 14:18:58 +01:00
b41f088fe9
rename neo_test_kernels to kernels_bin
...
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-03-02 13:46:26 +01:00
8e94d568a8
Do not set dcFlush in Immediate dispatch mode.
...
Some devices do not need dcFlush.
Setting it prevents further optimization of pipe controls which
are not needed.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-02 13:20:28 +01:00
bfacd14b61
Remove not needed code.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-02 13:10:15 +01:00
107db3a372
Add surfaceId variable to VASurface
...
Related-To: NEO-6693
Currently if clCreateFromVA and clEnqueueAcquireVA
are called from different scopes (i.e. surfaceID
passed to clCreate is destroyed when called
clEnqueueAcquired) enqueue results in undefined
behaviour. This PR fixes that.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-03-02 12:17:49 +01:00
a00ad8cb2b
Add multithread test for blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-02 11:22:59 +01:00
dad2b2120b
Add missing tests for clSetKernelArgSVMPointer
...
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-01 15:42:41 +01:00
a73d3612ce
Refactor L0 mock enablers
...
- add l0_libult target that groups all enablers
- enhance aub fixture - add debugging mode
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-03-01 13:49:26 +01:00
99120d239f
Refactor ocloc product config tests
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-01 12:52:01 +01:00
3c30e1b02b
Add AssignBCSAtEnqueue debug flag
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-01 12:43:36 +01:00
05bf7a4315
Detect GPU hang in AsyncEventsHandler
...
This change introduces detection of GPU hangs
in asynchronous events handler. ULTs have also
been added to cover the new code.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-01 11:41:12 +01:00
927bbe9ee9
Disable DirectSubmission in aub/tbx mode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-01 11:00:42 +01:00
b096422e78
BCS round robin adjustments
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-01 09:45:38 +01:00
b9d8d8c0fd
Optimize setKernelArgSVMPointer
...
If same pointer is already set, we don't need to set it again.
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-01 09:12:13 +01:00
090bfb9642
Reuse kernel allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-02-28 19:26:19 +01:00
0ecc7c5e3b
Detect GPU hangs in clFinish
...
This change introduces detection of GPU hangs in
clFinish function as well as unit tests to cover
the new code.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-28 19:07:36 +01:00
cf1bc3a2ba
Disable EU fusion based on kernel properties from compiler
...
Related-To: NEO-6633
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-02-28 18:50:38 +01:00
205571999e
Propagate VA syncSurface failure to API call
...
Currently, if syncSurface method fails, driver
will result in CL_SUCCESS. This PR fixes that.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-02-28 18:34:13 +01:00
ca7d47598a
Reintroduce prelim DRM debug support
...
It was verified that the issue existed before the failing commit.
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-28 18:25:57 +01:00
d603bb2f34
Revert "Prelim DRM debug support"
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
This reverts commit 5e021be0cd
.
2022-02-25 18:33:11 +01:00
0c6863766a
Set device ids for PRODUCT_CONFIG
...
Ocloc must set the default device id if the user
selects <major>.<minor>.<revision> pattern.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-02-25 18:01:40 +01:00
ba2c97358e
Remove WaDefaultTile4 flag
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-25 10:59:28 +01:00
93efb2c63f
Move DATA_PARAMETER_CHILD_BLOCK_SIMD_SIZE to ignore
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-02-25 10:29:58 +01:00
e4a93f9870
Set page table cloning on for event device allocs
...
Related-To: NEO-5968
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-24 22:35:03 +01:00
a2386ad216
Correct programming of implicit args on pre-XeHp platforms
...
On pre-XeHp platforms implicit args aren't at the beginning of indirect data,
GPU address of implicit args buffer is programmed within cross thread data
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-24 20:52:04 +01:00
0634aa3f1b
Create resource with given address
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-02-24 17:06:19 +01:00
c1970942aa
Update debug key to override timestamp event settings
...
Related-To: NEO-5968
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-23 23:38:05 +01:00
7f729b7f89
Detect GPU hang in clWaitForEvents
...
This change:
- moves NEO::WaitStatus to a separate file
- enables detection of GPU hang in clWaitForEvents
- adjusts most of blocking calls in CommandStreamReceiver to return WaitStatus
- adds ULTs to cover the new code
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-23 13:33:09 +01:00
ea6f089e17
Unify implicit args programming across APIs
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-23 11:52:47 +01:00
086a70ca52
Add ForceAllResourcesUncached debug variable
...
Resolves: NEO-6563
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-02-23 09:43:48 +01:00
5e021be0cd
Prelim DRM debug support
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-22 14:59:07 +01:00
e984760423
Revert "Move and extend local memory DRM allocations"
...
This reverts commit b84b0015d5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-22 08:48:46 +01:00
b84b0015d5
Move and extend local memory DRM allocations
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-21 16:04:53 +01:00
16f2fbbc37
[9/n] L0 immediate commandlist improvements
...
Add HwInfo utility for more fine-grained flush task enablement
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-18 19:51:28 +01:00
aae7858ed9
CMake: define enable core files only once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-18 11:50:09 +01:00