Dunajski, Bartosz
bc619fcbec
Queue stall mode for RelaxedOrdering
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-23 12:09:52 +01:00
Kamil Kopryk
9564af14f5
Move ClCoreHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- getQueueFamilyName
- getKernelPrivateMemSize
- preferBlitterForLocalToLocalTransfers
2022-11-15 15:45:33 +01:00
Kamil Kopryk
1d4240a0c8
Move ClCoreHelper ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- requiresNonAuxMode
- requiresAuxResolves
2022-11-15 10:35:22 +01:00
Kamil Kopryk
1e0a2b897f
Introduce getHelper - helper getter for ClHwHelper and L0HwHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-14 15:54:45 +01:00
Kamil Kopryk
4aa1697e3c
Move hwInfoConfig ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<ProductHelper> for
- adjustSamplerState
- adjustPlatformForProductFamily.
2022-11-14 13:04:31 +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
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
Dominik Dabek
6cf8b4daca
Correct tg dispatch size heuristic
...
Multiply available thread count by tile count
if implicit scaling is used
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-10-27 17:24:53 +02:00
Dunajski, Bartosz
52b63be026
Remove isCleanLeftoverMemoryRequired() + refactor sampler support path
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-10-04 16:24:03 +02:00
Kamil Kopryk
410fd7d909
Correct binding table prefetch
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
Binding table entry count was zeroed even when
ForceBtpPrefetchMode debug flag was enabled
2022-09-13 14:34:30 +02:00
Dominik Dabek
16798467ac
Add api specific config for allocation cache
...
Currently disabled for both opencl and level zero
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-09-05 21:15:18 +02:00
Lukasz Jobczyk
0d6bef0753
Add BCS split to api specific config
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-05 11:13:10 +02:00
Zbigniew Zdanowicz
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
Dunajski, Bartosz
1a28c2a154
Add threads count queries
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-24 13:18:20 +02:00
Krystian Chmielewski
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
Filip Hazubski
2f12e50b83
Explicitly initialize DispatchInfo members
...
Explicitly initialize objects:
- DispatchInfo::dispatchInitCommands
- DispatchInfo::dispatchEpilogueCommands
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-08-09 12:51:41 +02:00
Rafal Maziejuk
ed0c36117e
Apply heuristics when setting TG dispatch size on XE_HPC_CORE
...
The default TG dispatch size can be changed
to a better value based on number of threads in TG or
currently available amount of threads on GPU.
Decision on what TG dispatch size should be are based on
implemented heuristics.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6989
2022-08-08 16:43:10 +02:00
Compute-Runtime-Validation
b38c750cc4
Revert "Add finish before command queue is released"
...
This reverts commit 50fae92ea2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-05 19:25:23 +02:00
Filip Hazubski
1f21d34fd3
Add experimental CL_MEM_DEVICE_ID_INTEL property for memory object creation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-08-05 14:54:30 +02:00
Dunajski, Bartosz
a3903c385e
Remove HW types from synchronization interface
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-25 13:59:26 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Katarzyna Cencelewska
965dbc131d
Add new implementation to getSupportedDeviceFeatureCapabilities
...
Remove not longer needed method getExtraCabilities
Add report of support for dpas feature from xehp
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-07-21 18:35:57 +02:00
Mateusz Hoppe
50fae92ea2
Add finish before command queue is released
...
Related-To: NEO-5279
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-07-20 12:16:27 +02:00
Zbigniew Zdanowicz
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
Katarzyna Cencelewska
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
Kamil Kopryk
1ef5161a54
Correct check if binding table prefetch is supported
...
Remove redundant resetBindingTablePrefetch function,
disable binding table prefetch on xe platforms in OCL.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-01 11:43:39 +02:00
Naklicki, Mateusz
fd867c1621
Update OCL headers
...
Update headers to the OpenCL-Headers-2022.05.18 release:
https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2022.05.18
Related-to: NEO-7102
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-23 17:07:16 +02:00
Kamil Diedrich
97ea332a9f
Add support for ntHandles in OCL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-06-17 22:55:53 +02:00
Filip Hazubski
9c18c0247e
Correct surface format used for CL_LUMINANCE images
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-15 19:00:11 +02:00
Katarzyna Cencelewska
c59c4b2957
Add hwInfo as argument to method getSupportedDeviceFeatureCapabilities
...
set proper value in method isMatrixMultiplyAccumulateSupported to be
consistent with support of extension *matrix_multiply_accumulate*
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-13 15:03:43 +02:00
Daniel Chabrowski
c303c218be
Add missing pragma once in header files
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-07 16:19:11 +02:00
Krzysztof Gibala
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-02 12:46:15 +02:00
Filip Hazubski
35d1f2e341
Add debug flag to control programming of thread arbitration policy with SCM
...
Related-To: NEO-6801
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-27 11:35:41 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Szymon Morek
4266f861ac
Make implicit flush for cross-device dependency
...
Related-To: NEO-6418
If there's a cross-device dependency, flush batched
submissions to avoid deadlock.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-05-16 16:29:09 +02:00
Artur Harasimiuk
d643c587b9
style: correct variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 15:02:15 +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
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Mateusz Jablonski
943ad0e1eb
style: skip redundant unique_ptr::get function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 13:22:40 +02:00
Baj, Tomasz
2a0c395db5
Initial implementation for creating buffer with ext memory for OpenCl
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-05-05 13:13:54 +02:00
Lukasz Jobczyk
7eb70775ea
Flush caches for cross CSR dependencies
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-27 15:03:27 +02:00
Filip Hazubski
3900c9d24a
Report to StreamProperties whether large grf should be programmed with SCM
...
Add helper method to UnitTestHelper to query programmed grf values.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 13:20:14 +02:00
Compute-Runtime-Validation
903cf766b3
Revert "Move shared helper files to shared directory"
...
This reverts commit 459524f129
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-27 13:12:16 +02:00
Filip Hazubski
459524f129
Move shared helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 10:34:42 +02:00
Filip Hazubski
944319b3d9
Correct media compression format for blitter operations on planar images
...
Set most significant bit for chroma planes.
Move common logic to helper function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-22 17:02:16 +02:00
Dominik Dabek
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
Dominik Dabek
308f9ccfff
Do not allocate dynamic state heap if not needed
...
Dynamic state heap is only used for sampler data.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-03-31 12:13:13 +02:00
Jobczyk, Lukasz
d77a6cbe4b
Enable task count update from wait
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2022-03-28 11:09:55 +02: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
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
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
Patryk Wrobel
4cde6ea1ce
Detect GPU hangs in CommandMapUnmap::submit()
...
This change introduces detection of GPU hangs
in CommandMapUnmap::submit() as well as in Event::submitCommand().
ULTs have been added to cover the new code.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-03-15 13:17:41 +01:00
Compute-Runtime-Validation
4f31b569e4
Revert "Correct IMAGE1D_BUFFER width size calculation in BCS"
...
This reverts commit 3490b489ad
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-12 20:02:55 +01:00
Rafal Maziejuk
3490b489ad
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 in both copySize and (src/dst)Size.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6134
2022-03-11 09:34:40 +01:00
Michal Mrozek
cd15c82eab
Do not prefer copy engine for local to local transfers.
...
Execution Units are faster.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-03-08 15:42:58 +01:00
Patryk Wrobel
f193efec2f
Remove additional memory allocations for surfaces container
...
In constructor of CommandComputeKernel we had been doing multiple allocations
of memory on heap due to lack of call to std::vector copy-constructor or reserve
member function.
Furthermore, in production code there is only one place, where we create objects
of this type and we redundantly copy the local variable, which could be moved.
This change:
- ensures that constructor of CommandComputeKernel performs single allocation
in the worst case; in the best case, it does not allocate memory due to usage
of std::move on input parameter
- steals the memory of the local variable in place of usage of the constructor
to remove redundant copying and memory allocations
- uses reserve() method to reduce the number of allocations during creation
of this local variable
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-03-03 12:07:36 +01:00
Rafal Maziejuk
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
Dominik Dabek
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
Mateusz Jablonski
82e3b10c5a
Fix typo
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-25 18:10:41 +01:00
Mateusz Jablonski
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
Lukasz Jobczyk
0634aa3f1b
Create resource with given address
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-02-24 17:06:19 +01:00
Mateusz Jablonski
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
Mateusz Jablonski
4f71aaf595
Handle SIMD-1 scenario when programming local ids for implicit args
...
according to implicit args design for SIMD-1 local ids are one-by-one
Resolves: NEO-6692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-17 17:48:54 +01:00
Mateusz Jablonski
b697d75695
Correct dimension order in local ids generated for implicit args
...
when local ids are generated by HW, use same dim order for runtime generation
move common logic to separated file
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-04 12:46:59 +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
Maciej Plewka
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-26 13:30:26 +01:00
Katarzyna Cencelewska
3d9e1ea3a5
Remove device enqueue part 11
...
- remove templates from queue functions
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-25 12:40:56 +01:00
Katarzyna Cencelewska
26308a59bc
Fix getCommandQueueInfo for param CL_QUEUE_DEVICE_DEFAULT
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-20 17:42:33 +01:00
Mateusz Jablonski
fbc0666d1b
Move setGrfInfo from HardwareCommandsHelper to EncodeDispatchKernel
...
unify grf info programming across APIs
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-20 15:42:06 +01:00
Katarzyna Cencelewska
a06fbd2077
Remove device enqueue part 10
...
- remove DeviceQueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-19 17:41:06 +01:00
Katarzyna Cencelewska
97765cd39f
Remove device enqueue part 7
...
- mainly remove BlockKernelManager and ReflectionSurfaceHelper
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-19 10:41:57 +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
Krystian Chmielewski
79c8605ed2
Fix checking required DSH Size
...
This change simplifies calculating required DSH Size
and replaces wrong debug break conditiong causing
debug assertion fails in many tests with simple
check "calculatedDSHSize > allocatedDSHSize".
Related-To: NEO-6077
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-01-15 00:24:46 +01:00
Mateusz Jablonski
ff79c84115
Correct INTERFACE_DESCRIPTOR_DATA definitions for XeHp and later
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-14 19:06:55 +01:00
Katarzyna Cencelewska
d2818aaea2
Remove device enqueue part 5
...
-remove scheduler and builtin_kernels_simulation
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-13 14:15:26 +01:00
Katarzyna Cencelewska
45ae4fe881
Remove device enqueue part 3
...
- isSchedulerKernel
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-12 13:50:18 +01:00
Katarzyna Cencelewska
a9ebb49fb5
Remove device enqueue part 1
...
Remove:
-tests with matcher for device enqueue
-classes: MockDeviceQueueHw, DeviceQueueHw, SchedulerSimulation,
DeviceQueueHwTest, KernelArgDevQueueTest
-functions: forceDispatchScheduler, processDeviceEnqueue, dispatchScheduler
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-11 15:29:49 +01:00
Filip Hazubski
5be4d89b73
Rename function
...
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-30 17:03:22 +01:00
Lukasz Jobczyk
95585a81f7
Optimize timestamp packet dependencies
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 09:48:36 +01:00
Lukasz Jobczyk
14e338e669
Revert "Optimize timestamp packet dependencies"
...
This reverts commit c365b422963917e7b882f9db985969c036f0fa3f.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-23 14:29:29 +01:00
Lukasz Jobczyk
38ace23f72
When terminate task do not pass timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-23 12:34:51 +01:00
Filip Hazubski
f4c151cce5
Refactor PipeControlArgs struct
...
Remove struct PipeControlArgsBase
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-22 17:13:16 +01:00
Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-21 18:29:43 +01:00
Filip Hazubski
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-21 12:21:11 +01:00
Bartosz Dunajski
b9132ef5f5
Remove not used file
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-17 12:18:44 +01:00
Bartosz Dunajski
fe8cb190bc
Remove deprecated code
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-14 11:36:10 +01:00
Bartosz Dunajski
d07c76c237
unTypedDataPortCacheFlush pipe_control helper support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:00:10 +01:00
Bartosz Dunajski
7c610ed5bb
Add new Engine Group types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 15:28:15 +01:00
Bartosz Dunajski
2b1aa8b331
Compilation fix: Add missing LrcaHelper types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:19:36 +01:00
Lukasz Jobczyk
0c49fa8203
Add missing cache flush for blocked path
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-07 12:36:34 +01:00
Maciej Dziuban
e3bb526067
Optimize timestamp packet dependencies
...
- Clear dependencies even if last engine changed
- Do no program semaphore waiting for blit when blit is submitted with gpgpu
- Track barrier timestamps to correctly synchronize blits in OOQ
Related-To: NEO-6444
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-12-07 11:47:50 +01:00
Bartosz Dunajski
f20236c7f2
Initial PVC support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
Related-To: NEO-5542
2021-12-07 10:22:41 +01:00
Lukasz Jobczyk
09d2ffb9ed
Add missing cache flush
...
Resolves: NEO-6505
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-06 17:28:12 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 18:09:02 +01:00
Bartosz Dunajski
6098290a0b
Pass compression hints to memory properties
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 14:05:08 +01:00
Zbigniew Zdanowicz
61641bb70a
Add implicit barriers capability to opencl
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-10 08:19:50 +01:00
Bartosz Dunajski
4bf4b170f1
Simplify WALKER_TYPE definition
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-04 17:09:06 +01:00
Zbigniew Zdanowicz
4fbb199790
Add platform parameter to configure pipe control dispatch
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-02 12:14:10 +01:00
Maciej Dziuban
f1b6b733f0
Reuse graphics allocation from mapped buffers in OpenCL
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-10-27 15:53:10 +02:00
Sebastian Luzynski
ce78bab177
Image compression checks
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
Related-To: NEO-6102
2021-10-27 13:36:41 +02:00
Bartosz Dunajski
1f2aa82c5b
Remove UNUSED_VARIABLE macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 18:56:33 +02:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Mateusz Jablonski
b1df167632
Move enable_product.inl to shared
...
extract api agnostic validators to shared
remove not needed opencl includes from neo shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 22:02:16 +02:00
Mateusz Jablonski
48f01f28f5
Move core part of MemoryPropertiesHelpers to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-07 23:14:38 +02:00
Mateusz Jablonski
973317e473
Move kmd notify properties to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-07 18:12:19 +02:00
Zbigniew Zdanowicz
0363749948
Disjoint local work size code from hw command generation
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-06 01:09:56 +02:00
Zbigniew Zdanowicz
96fef37834
Move shared local work size code to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-04 14:04:28 +02:00
Zbigniew Zdanowicz
1028295a02
Move per thread data to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-30 17:57:41 +02:00
Zbigniew Zdanowicz
25c71a6c13
Move kernel info to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-29 23:49:49 +02:00
Maciej Dziuban
c04f8e5e5b
Pass copy engines to waitUntilComplete in OpenCL command queue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-24 14:11:44 +02:00
Mateusz Jablonski
bdd1a2be8f
Move gmm callbacks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 22:25:25 +02:00
Zbigniew Zdanowicz
e295e74c0a
Add preemption flags creation to shared code
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 15:20:13 +02: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
8b36473a9a
Move command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 12:47:21 +02:00
Mateusz Jablonski
80b49e4a47
Create ClPreemptionHelper
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 10:15:58 +02:00
Mateusz Jablonski
f8867e0b97
Move generic command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-22 23:55:31 +02:00
Maciej Dziuban
04b6a604ec
Refactor BCS in OpenCL CommandQueue
...
- use CopyEngineState class to hold task count and engine type
- pass engine type to updateBcsTaskCount
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-22 10:39:46 +02:00
Maciej Dziuban
a4b3dc29e4
Remove unnecessary method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-21 11:34:27 +02:00
Bartosz Dunajski
9ff91defba
Add API name to aub file name
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-16 14:50:25 +02:00
Zbigniew Zdanowicz
b65d8909e4
Refactor and modularize walker partition code
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-16 10:46:26 +02:00
Maciej Dziuban
c7d86af500
Pass blitter CSR to event
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-15 12:49:22 +02:00
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +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
Filip Hazubski
3fafdf3f29
Correct check in getQueueFamilyName
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-10 15:14:31 +02:00
Kamil Kopryk
a924b6a304
Code cleanup - avoid copy 5/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-08 08:59:55 +02:00
Maciej Dziuban
3e6b3cd780
Revert "Create single point for selecting engine for builtin ops"
...
This reverts commit 6513bd371a69cb821ea45c7c1964ea1f51dd75b2.
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-02 11:58:46 +02:00
Maciej Dziuban
33ac15dabe
Pass blitter CSR in blocked queue scenarios
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-08-31 16:29:17 +02:00
Maciej Dziuban
a03b5f8a95
Create single point for selecting engine for builtin ops
...
- selectCsrForBuiltinOperation selects proper CSR
- selected CSR is passed to dispatchBcsOrGpgpuEnqueue
- Notifications such as notifyEnqueueReadBuffer are now made on correct engine
- Temporary allocs for hostptrs are now created on gpgpuCsr
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-08-31 13:29:17 +02:00
Bartosz Dunajski
856dee2b08
Improve Sampler programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-25 19:47:30 +02:00
Szymon Morek
aa5e1780a2
Rename plus in filenames to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-17 11:26:27 +02:00
Konstanty Misiak
ad19eda689
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-08-13 15:02:01 +02:00
Szymon Morek
a85ae676e7
Rename plus in cmake macros to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-13 11:40:19 +02:00
Szymon Morek
217d067ad5
Refactor calculating maxMemAllocSize
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-12 14:37:42 +02:00
Bartosz Dunajski
f8d04b1e66
Add method to adjust device bitfield
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-05 17:50:49 +02:00
Szymon Morek
3c15023871
Add AllowUnrestrictedSize debug flag
...
This debug flag allows to allocate memory with size greater than
CL_DEVICE_MAX_MEM_ALLOC_SIZE.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-05 15:35:26 +02:00
Milczarek, Slawomir
e5237c2368
Enable stateless compression on xehp
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-03 16:01:44 +02:00
Bartosz Dunajski
e880cf2ad6
Add xe_hp_sdv unit test target + minor test fixes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 11:12:57 +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
Compute-Runtime-Validation
1f4a835314
Revert "Add xe_hp_sdv unit test target + minor test fixes"
...
This reverts commit 6f75d67406
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-02 13:48:10 +02:00
Kamil Kopryk
4533595274
Rename constructPropertiesForCopyBuffer to constructPropertiesForCopy
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-30 11:31:56 +02:00
Bartosz Dunajski
6f75d67406
Add xe_hp_sdv unit test target + minor test fixes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-30 10:23:08 +02:00
Kamil Kopryk
af4b1afdbd
Add support for copy images by blitter OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-30 09:29:45 +02:00
Kacper Nowak
64f86817f8
Fix get_work_dim() returning incorrect value
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-07-22 11:09:46 +02:00
Kamil Kopryk
30151a8f02
Cleanup images pitch programming OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-21 19:47:56 +02:00
Lukasz Jobczyk
9e50138829
Defer ULLS initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-21 15:55:16 +02:00
Szymon Morek
c8b85bb5a9
Add method to check tile only context
...
Related-To: NEO-6043
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-21 12:22:42 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-19 19:49:22 +02:00
Kamil Kopryk
8810547d3a
Correct pitch programming for images BCS OCL
...
Related-To: NEO-4692
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-07-19 11:25:14 +02:00
Kacper Nowak
157bbbfb23
Enable generating & running Level Zero AUB tests
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-07-09 14:12:41 +02:00
Szymon Morek
399dc60bf8
Remove processing extra properties
...
Related-To: NEO-6024
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-08 16:18:06 +02:00