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
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
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
c2ce19ff36
Revert "Include dynamic SLM in clGetKernelWorkGroupInfo"
...
This reverts commit 320b020dd6
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-12 22:58:58 +02:00
7c6783c4a1
Revert "Return error when image arg does not support media block commands"
...
This reverts commit e56d18b69f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-12 03:58:33 +02:00
e56d18b69f
Return error when image arg does not support media block commands
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-10-11 15:47:27 +02:00
320b020dd6
Include dynamic SLM in clGetKernelWorkGroupInfo
...
Current implementation only takes static slmInlineSize into account.
With this change we also include dynamic SLM passed as a kernel arguments.
Related-To: NEO-5761
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-10-11 09:59:05 +02:00
73a58aaf9e
feat(zebin): inline sampler
...
Add support for inline samplers in zebin.
Generate required SAMPLER_STATEs in DSH.
Resolves: NEO-7388
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-10 12:47:19 +02:00
9100610b5d
Remove test API to disable overdispatch
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-06 10:12:47 +02:00
f226718fef
Revert "Remove test API to disable overdispatch"
...
This reverts commit 3b92cef7a1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-05 23:51:17 +02:00
3b92cef7a1
Remove test API to disable overdispatch
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-04 09:54:05 +02:00
36e17cebef
Revert "Include dynamic SLM in clGetKernelWorkGroupInfo"
...
This reverts commit ccdb5aaa2a
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-03 19:27:21 +02:00
ccdb5aaa2a
Include dynamic SLM in clGetKernelWorkGroupInfo
...
Current implementation only takes static slmInlineSize into account.
With this change we also include dynamic SLM passed as a kernel arguments.
Related-To: NEO-5761
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-09-29 17:38:44 +02:00
f2ce393fc2
Capability to set overdispatch param for Kernel
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-27 18:29:04 +02:00
c3f7e40a8d
Rename special pipeline select mode to systolic
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-31 22:16:26 +02:00
1a28c2a154
Add threads count queries
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-24 13:18:20 +02:00
a5b4a13452
Revert "Return error when image arg does not support media block commands"
...
This reverts commit 8388e6cf4a
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-24 06:23:22 +02:00
8388e6cf4a
Return error when image arg does not support media block commands
...
Related-To: NEO-7168
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-08-23 12:07:29 +02:00
18adbed233
feat(zebin): add thread scheduling mode support
...
Resolves: NEO-7197
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-18 16:10:18 +02:00
af91f94098
Improve calculateAvailableThreadCount implementation
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-07-28 11:43:14 +02:00
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-25 09:58:38 +02:00
0eb2001d8f
Revert "Check indirect access from igc"
...
This reverts commit e5d63cd303
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-22 04:39:16 +02:00
e5d63cd303
Check indirect access from igc
...
Also add workaround for app passing svm pointers by value
Related-To: NEO-7182
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-07-21 12:25:24 +02:00
3f8c19eec9
Limit system memory flag in builtin kernels to destination argument
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-19 10:58:51 +02:00
f9888db0fb
Revert "Check indirect access from igc"
...
This reverts commit e14c91fa6c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-16 07:36:49 +02:00
e14c91fa6c
Check indirect access from igc
...
Related-To: NEO-7182
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-07-15 15:01:48 +02:00
7c538b956a
Correct typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-14 10:13:12 +02:00
e07f9f0698
Add kernel algorithm to check any argument is using system memory
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-12 13:08:49 +02:00
25ce4d0c04
Clean unused code
...
remove parts with device queue
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-07-07 14:52:26 +02:00
4fb4a1d77b
Add LogicalStateHelper getter for CommandQueue.
...
Refactor Kernel handling
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-04 13:21:15 +02:00
6ab6e1abff
Fix mutex order for event task and move args to gpu
...
This commit fixes problem with untransfered shared usm memory to gpu
when there is submit to gpu trigerred by user event. Also there is a fix
for dead lock problem caused by mixed orders of locking mutexes in csr
and in direct submission controller.
Related-To: NEO-6762
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-06-21 11:28:25 +02:00
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 20:55:56 +02:00
96e1eb7467
Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
...
Pvc specific variables should be located in pvc struct
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-17 12:19:16 +02:00
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 12:39:44 +02:00
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-11 12:57:02 +02:00
d0a32b1437
Fix: svm pointer caching
...
Given a following sequence of setting kernel arg svm pointers: A, nullptr, A
the kernel arg was not being set to A
Related-To: NEO-6895
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-25 07:59:47 +02:00
2c1bfbb5b2
Encode number barriers
...
When programming number of barriers use BARRIER_SIZE enumeration.
Resolves: NEO-6785
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-04-08 10:32:23 +02:00
76289be8c1
Avoid unnecessary allocation in enqueueHandler
...
Related-To: NEO-6837
kernelObjsForAuxTranslation will allocate only if needed
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-06 13:03:41 +02:00
174c27eb31
Fix CFEFusedEUDispatch debug flag
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-03-28 12:32:05 +02:00
6556d9a510
Improve caching in clSetKernelArgSVMPointer 2/n
...
Update allocIdMemoryManagerCounter on cache hit
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-02 18:10:52 +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
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
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
bd3e296278
Remove unused functions and struct
...
getProfilingTimerResolution, getParentObjectCounts,
ObjectCounts
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-02-14 09:53:35 +01:00
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
6f62a784e1
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 5e62df4f8e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-04 12:15:37 +01:00
5e62df4f8e
Check IndirectStatelessCount from igc
...
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-02-02 12:28:30 +01:00
07c75c2de3
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 01f368ac147d99fd0dcb4d71a9a2543cd215adfd.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-27 16:06:13 +01:00
63f406a58c
Check IndirectStatelessCount from igc
...
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-26 11:10:04 +01:00
27c43b27f3
Remove not needed method.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-20 15:02:19 +01:00