Mateusz Jablonski
c8b55e38a0
Refactor: dont use global getters for Product/GfxCore helper in engine helpers
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-20 17:16:21 +01:00
Kamil Kopryk
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-14 14:39:52 +01:00
Warchulski, Jaroslaw
be647d42d9
Cleanup includes 12
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-07 13:14:15 +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
Mateusz Jablonski
23eff82d0a
OCL: optimize creating printf buffer
...
Dont create printf buffer when kernel doesnt require it
Related-To: HSD-18023825570
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-09-30 12:25:57 +02:00
Katarzyna Cencelewska
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
Patryk Wrobel
9b2ad0c5df
Detect GPU hangs in flushBcsTask()
...
This change introduces detection of GPU hangs in flushBcsTask()
function. The new code has been covered with ULTs.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-05-12 16:17:16 +02:00
Kacper Nowak
cd9cc53159
Correct setting usesStringMap flag in printf
...
This commit fixes setting usesStringMap flag for printf, taking into
account using indirect functions in legacy (non-zebinary) path. It also
adds new field to kernelDescriptor, specifying the binary type
(legacy/zebin).
Related-To: NEO-6604
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-02-15 15:39:10 +01:00
Kacper Nowak
1390af6efe
Make usesStringMap flag independent of implicit args requirements
...
This commits removes part of condition requiring requiresImplicitArgs
flag set in kernel descriptor in order to set usesStringMap flag.
Related-To: NEO-6604
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-02-09 09:51:01 +01:00
Bartosz Dunajski
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
Bartosz Dunajski
52c6973e89
Rename blitBuffer method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-03 15:02:55 +01:00
Katarzyna Cencelewska
59683ec491
Remove device enqueue part 6
...
- isParentKernel, peekParentKernel, parentKernel
- structs: AUBParentKernelFixture, MockParentKernel,
ParentKernelCommandQueueFixture
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-17 13:56:29 +01:00
Bartosz Dunajski
c13889c31b
Fix printf allocation access mode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
Use BCS if CPU access for local memory allocation is not allowed
2021-12-15 12:14:46 +01:00
Mateusz Jablonski
34ad95ae12
Handle printf output when implicit args are required
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 13:49:40 +02:00
Mateusz Jablonski
64b2fd5b19
Create printf handler if kernel has implicit args in OCL
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-20 10:58:41 +02:00
Mateusz Jablonski
e193589582
Add implicit args support for OCL
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-13 10:54:19 +02:00
Rafal Maziejuk
bbfbf19a02
Move allowStatelessCompression from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-09-09 11:37:47 +02:00
Milczarek, Slawomir
754d6e40e0
Fixed blitter path for printf with stateless compression in sba
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-09-01 11:45:34 +02:00
Maciej Dziuban
78fa40fac0
Add new parameter to functions
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-08-19 17:25:43 +02:00
Maciej Dziuban
f838dc7644
Remove default parameter
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-08-16 17:38:46 +02:00
Milczarek, Slawomir
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Milczarek, Slawomir
4fc2200d9a
Decompress printf surface when stateless compression is enabled
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-29 15:16:28 +02:00
Krystian Chmielewski
d62049035a
printf support with ZEBinary
...
Resolves: NEO-5657
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-06-21 20:53:58 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Mateusz Jablonski
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Mateusz Jablonski
7098e9c5f2
Store single KernelInfo in Kernel
...
remove root device index from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 21:30:03 +01:00
Mateusz Jablonski
35d2325361
Remove KernelDeviceInfo struct
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 14:25:23 +01:00
Igor Venevtsev
52e118fe49
Add extra parameters to Buffer::setSurfaceState() method
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-16 10:17:59 +01:00
Krystian Chmielewski
9bb229f771
Use printfSurfaceAddress arg instead of patchToken
...
Use KernelDescriptor's printfSurfaceAddress arg instead of storing
SPatchAllocateStatelessPrintfSurface token in KernelInfo's patchInfo.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-02-24 15:51:30 +01:00
Slawomir Milczarek
55f3c8f134
Add resolve capability for compressed USM device allocations
...
Related-To: NEO-5107
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-08 12:16:26 +01:00
Mateusz Jablonski
350ec9f16b
Pass root device index to get proper kernel info
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 19:11:43 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 09:14:44 +01:00
Mateusz Jablonski
7ec69c33f9
Store SSH per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-24 17:57:31 +01:00
Mateusz Jablonski
a67e829fa8
Store crossThreadData per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-20 20:49:50 +01:00
Bartosz Dunajski
27f9a95af2
Refactor: Common helper for Blit and CPU memory transfers
...
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-12 18:29:42 +02:00
Filip Hazubski
2b30166415
Use blitter when patching printf surface data
...
Change-Id: If072d98d597bd4aaca118fb05eb0b8dbb1a2d0b7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-16 12:17:56 +02:00
Andrzej Swierczynski
77f50e5444
Always pass device bitfield to AllocationProperties in constructor
...
Related-To: NEO-4722
Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-13 09:00:10 +02:00
Filip Hazubski
fe851da327
Rename device directory
...
device directory is renamed to cl_device.
Related-To: NEO-3938
Change-Id: I96794c82632d042da6814550597d805df7bb6436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-24 14:35:21 +01:00
Filip Hazubski
3b149b69a7
Remove duplicated fields from ClDeviceInfo
...
Related-To: NEO-3938
Change-Id: Ic13d69eaf2ba54794f82d78b058c960f27a6c29d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-17 08:58:34 +01:00
Mateusz Jablonski
49aac737a7
Don't use ClDevice in Buffer::setSurfaceState
...
Change-Id: Id948b11ee7c0decb7a2e4e4fea70e950ee14913f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 14:42:21 +01:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 10:22:30 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
Mateusz Jablonski
370424a1e0
Change core inlcudes
...
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 18:46:50 +01:00
kamdiedrich
d015d3633f
Add absolute path to include
...
Change-Id: Ib0782b4ab8d9a26ec358ecfb57721f4fe8d51b06
2020-02-23 08:47:49 +01:00
kamdiedrich
fa8e720f9e
Reorganization directory structure [1/n]
...
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
2020-02-22 21:56:09 +01:00