Commit Graph

718 Commits

Author SHA1 Message Date
Vinod Tipparaju c051495eb8 SW WA to add PIPE_CONTROL with dcFlush enabled when event scope is host/device
Related-To: LOCI-2361

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-09-03 16:57:57 +02:00
Filip Hazubski 3d6d4acda2 Update isCooperativeDispatchSupported
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-02 17:36:58 +02:00
Bartosz Dunajski f51d43f121 L0 Context: Use correct Device count getter
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-02 09:23:49 +02:00
Filip Hazubski 0606ef4095 Disable patching VfeState by default
By default VfeState will be programmed once per command lists execute.
Patching may be enabled with AllowPatchingVfeStateInCommandLists variable.

Related-To: NEO-4940

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-01 17:18:14 +02:00
Bartosz Dunajski 0345d9f707 Improve queries with number of SubDevices
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-01 14:01:57 +02:00
Mateusz Hoppe 582bb3786d Fix attention bitmask on tgllp
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-09-01 11:48:18 +02:00
Filip Hazubski c03620468b Update VFE state programming
Treat regular kernels scheduled as cooperative ones as cooperative kernels.
Add debug variable AllowMixingRegularAndCooperativeKernels.

Related-To: NEO-4940

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-31 19:49:25 +02:00
Bartosz Dunajski 92000bd75b Improve Device getter to support EngineInstanced Device with single Engine
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-31 15:50:23 +02:00
Mateusz Jablonski 51a5d5cec3 Correct include for cmdlist on ADLS
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-08-31 10:58:27 +02:00
Filip Hazubski 741fa13507 Store StreamProperties in CommandStreamReceiver
Move StreamProperties from CommandQueueHw.

Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-30 15:52:47 +02:00
Filip Hazubski de1e4e0074 Add adjustMaxWorkGroupCount helper
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-27 15:39:48 +02:00
Bartosz Dunajski cb91474b1a Improve getDevice methods
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-26 14:45:00 +02:00
Kamil Diedrich 4390590831 Add shareable allocation for Windows
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-26 13:43:55 +02:00
Jaime Arteaga 0bd41cc3ec Add support for ze_kernel_preferred_group_size_properties_t
Related-To: LOCI-2313

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-25 00:10:13 +02:00
Spruit, Neil R 3389c452c7 Added Link Log for L0 Dynamic Module Linking
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-08-24 07:19:23 +02:00
Compute-Runtime-Validation c92ff15d59 Revert "Add support for ze_kernel_preferred_group_size_properties_t"
This reverts commit b193475abb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-24 04:44:59 +02:00
Jaime Arteaga b193475abb Add support for ze_kernel_preferred_group_size_properties_t
Related-To: LOCI-2313

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-23 19:23:40 +02:00
Filip Hazubski 63f8c9d98b Add new EngineUsage
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.

Related-To: NEO-4940

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-23 17:41:13 +02:00
Jaime Arteaga 2fab8ccf05 Add support for zeKernelSchedulingHintExp (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-20 04:35:08 +02:00
John Falkowski a6bb897a7c Adjust dev memory available based on impl scaling
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-08-19 21:18:32 +02:00
Filip Hazubski 84da4648cd Refactor engineGroups container
Use static array instead of the vector.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-19 13:49:32 +02:00
Jaime Arteaga 5cc970a503 Minor cleanups
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-19 03:15:40 +02:00
Jaime Arteaga 38e36d00af Skip reset of IPC events
This because they might have been imported after their status
having been already changed by the exporter.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-18 22:14:37 +02:00
Filip Hazubski 29c64c3dd0 Disable implicit scaling for cooperative kernels
When implicit scaling is disabled use useSingleSubdeviceValue = true.

Resolves: NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-18 14:56:37 +02:00
Bartosz Dunajski d8a98acafd Set SingleSliceDispatchCcsMode for EngineInstanced OsContext
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-18 13:02:16 +02:00
Jaime Arteaga 5c236a62fd Changes to SW tags
Add SW tags to synchronization points
Add ID sequence numbers
Add new allocation type

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-18 01:51:37 +02:00
Katarzyna Cencelewska 5f491ed22b Add support for adlp in opensource
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com
2021-08-18 00:03:17 +02:00
Mateusz Hoppe 33f9a6f4e0 Move attention bitmask methods to L0HwHelper
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-08-17 16:14:20 +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
Compute-Runtime-Validation 0ae53851da Revert "Add support for ze_kernel_preferred_group_size_properties_t"
This reverts commit 4586238c0e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-17 04:28:15 +02:00
Jaime Arteaga 4586238c0e Add support for ze_kernel_preferred_group_size_properties_t
Related-To: LOCI-2313

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-16 20:02:42 +02:00
Spruit, Neil R d119494854 L0 Support for Dynamic Module Linking for undefined symbols
- Support for L0 apps to handle undefined symbols reported by IGC
- Removed duplication of symbol in exported symbol list and relocation
for properly resolving the symbol during dynamic link
- Add export module's exported function surface state to the import
module's residency container during dynamic linkage to allow import
kernels to execute exported functions.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-08-13 19:26:41 +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
Compute-Runtime-Validation 5d49dedf00 Revert "L0 Support for Dynamic Module Linking for undefined symbols"
This reverts commit e602f4829d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-13 10:33:13 +02:00
Spruit, Neil R e602f4829d L0 Support for Dynamic Module Linking for undefined symbols
- Support for L0 apps to handle undefined symbols reported by IGC
- Removed duplication of symbol in exported symbol list and relocation
for properly resolving the symbol during dynamic link
- Add export module's exported function surface state to the import
module's residency container during dynamic linkage to allow import
kernels to execute exported functions.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-08-12 21:30:13 +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
Kamil Diedrich 2d5d071e66 Extended import device memory functionality
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-10 13:24:56 +02:00
John Falkowski da8ddc5907 Add offset to dispatchBlitMemoryFill
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-08-10 06:32:23 +02:00
Vinod Tipparaju a2012e04dc Add pageFault migration support for immediate cmdlist submission via flushTask.
Move logic for makeResident & pageFault migration to command place for re-use.

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-10 06:21:04 +02:00
Vinod Tipparaju 37670aeb91 Add support for new thread arbitration policies via zeKernelSchedulingHintExp
Related-To: LOCI-2319

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-09 21:07:08 +02:00
Szymon Morek cc2d701e9d Enable AllowUnrestrictedSize debug flag on L0
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-06 18:59:08 +02:00
Krystian Chmielewski 8f72a68440 Use proper private mem allocation
Related-To: NEO-6063
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-08-06 13:17:21 +02:00
Aravind Gopalakrishnan fa2ddedf42 Add implementation for zeEventQueryTimestampExp
Related-To: LOCI-2318

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-08-06 11:43:25 +02:00
Filip Hazubski b7bdb3b9ce Correct initialization of command queue group flags
Related-To: NEO-4940, NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-05 04:59:44 +02:00
Brandon Yates 1980edd05b Add ze_init_flag_t check to zeInit()
Return an error and don't init if flag is non-zero and GPU_ONLY flag is not set

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-08-05 00:31:22 +02:00
Jaime Arteaga ec18046f24 Remove peer allocation from device map when freeing original allocation
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-04 22:42:50 +02:00
Filip Hazubski caf1ab628a Do not allow mixing cooperative and non-cooperative kernels in an execute
When executing command lists, ensure that all lists contain either cooperative
or non-cooperative kernels. When appending kernels to a command list, do not
allow mixing cooperative and non-cooperative kernels.

Related-To: NEO-4940, NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 20:24:33 +02:00
Jaime Arteaga 79a2607c63 Add method to increase stream size when appending new commands
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-03 17:09:26 +02:00
Zbigniew Zdanowicz 7b52f587da Disable timeout for inifinite synchronization time
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 16:34:07 +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