Commit Graph

6562 Commits

Author SHA1 Message Date
Jaime Arteaga
a0db607083 Remove unnecessary flush in event profiling
Remove flush before appending appendWriteKernelTimestamp, since
the associated PC is only to ensure kernel execution has completed
in the device, so flush to the host is not required.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-09 02:40:45 +01:00
Jaime Arteaga
be2a87fe98 Initialize kernel private surface when kernel is created
This instead of when the associated module is created, to avoid
allocating memory for kernels that are never created nor used.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-08 19:22:17 +01:00
Kacper Nowak
aa28baa7ec Add -DDONT_USE_PREBUILT_KERNELS_L0 flag usage
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-01-08 19:13:46 +01:00
Mateusz Hoppe
6f69bd3560 Initialize SIP kernel in Device::create()
Related-To: NEO-4878

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-08 15:46:23 +01:00
Kamil Kopryk
38577bed6b Enable blitter support for read/write images OpenCL
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-01-08 13:32:36 +01:00
Maciej Dziuban
ebbd042f1c Add root CSR to engine groups
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2021-01-08 12:35:01 +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
Brandon Yates
d7ff26cc5a Updating L0 Loader version to 1.0.26 in manifest
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-01-08 09:14:32 +01:00
Jaime Arteaga
479d01c118 Improve zeCommandListAppendMemoryFill Performance
Improve L0 fill operations by copying the pattern using
two kernels: one that copies four bytes at a time, and one
that takes care of the remainder. Additionally, a new
allocation is created to fill up at least a cacheline.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-08 07:24:55 +01:00
Jaime Arteaga
444b9594af Expand adjustPipelineSelect parameters
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-07 18:01:07 +01:00
Filip Hazubski
5c63929473 Correct ULT
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-07 13:47:24 +01:00
Bartosz Dunajski
14438484d2 Improve AdditionalKernelExecInfo implementation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-07 11:40:45 +01:00
Daria Hinz
4591101541 Implementation of profiling for copy/fill API's
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-01-07 09:43:00 +01:00
Adam Cetnerowski
0e52c6b08d ULT renaming: Compiler Interface tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-07 06:30:24 +01:00
Daniel Enriquez
bb5d252c4d Sysman for Windows: Fix timestamp units for power and engines.
Returning now in usecs as the documentation state it should be.
2021-01-07 03:30:47 +01:00
Jitendra Sharma
73c7ebdfb8 Add support for performance factor Sysman API
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-06 12:03:36 +01:00
Adam Cetnerowski
a3097ae21a ULT renaming: Debug Settings tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-06 07:27:51 +01:00
Vilvaraj, T J Vivek
604aa56a4c sysman: use safer options to copy strings in firmware version.
strncpy_s is a safer option than strncpy.
2021-01-06 07:07:59 +01:00
vinod krishna
7d29a0342a maxHardwareContexts now reports 64K
Related-To: NEO-1582

Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-01-06 07:04:55 +01:00
Krzysztof Gibala
3385500396 Use createHostUnifiedMemoryAllocation in clHostMemAllocINTEL
Unlock multi device setup for host allocation

Related-To: NEO-5422
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-01-05 17:16:59 +01:00
Igor Venevtsev
92f067b9aa Add CpuInfo::isCpuFlagPresent() method
Related-To: NEO-5276

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
21.02.18820
2021-01-05 14:23:08 +01:00
Artur Harasimiuk
efcd05d7bd infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-01-04 17:44:26 +01:00
Adam Cetnerowski
404c7e71ef ULT renaming: Miscellaneous tests
- Source Level Debugger
- Debug File Reader
- Windows Interface

Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-04 16:39:59 +01:00
Mateusz Hoppe
0eb10d7505 Switch to new compiler interface to get system routine
Related-To: NEO-4773
2021-01-04 15:36:15 +01:00
Maciej Plewka
3ca77a6cbe Program sba for global bindless heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-04 14:23:47 +01:00
Mateusz Hoppe
b9aee10679 Initialize internal heaps with at least minAddress from Wddm
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-04 13:13:13 +01:00
Jaime Arteaga
d7ea713c5f Revert "Initialize kernel immutable data when kernel is created"
This reverts commit a6ac10088c.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-04 11:11:39 +01:00
Artur Harasimiuk
1ba588d4eb update tests files
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-01-04 09:56:08 +01:00
Young Jin Yoon
e09ac446c4 Mask bit 0 of timestamp for event profiling
Related-to: LOCI-1161
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-12-31 23:51:12 +01:00
Kamil Diedrich
e0da0e1868 Fix for block load and store
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-31 12:28:26 +01:00
Adam Cetnerowski
0783e4a32b ULT renaming: Linux Interface tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-30 15:45:23 +01:00
Krzysztof Gibala
6faf61e4f1 Enable memory transfer in enqueueFillImage
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-30 14:28:25 +01:00
Krzysztof Gibala
801affde66 Enable memory transfer in enqueueFillBuffer
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-30 14:19:57 +01:00
Lukasz Jobczyk
239f37da64 Introduce kernel tunning under debug flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-12-30 14:05:55 +01:00
Mateusz Jablonski
33d41b51c7 Improve CI Travis builds
login to docker account to use separated limit for docker image pulls
enable PCH and use virtuals in GCC builds on Ubuntu 20.04

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-30 12:44:30 +01:00
Jaime Arteaga
bd49ff63af Fix typos in debug_variables_base.inl
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-30 12:04:00 +01:00
Mateusz Jablonski
1b7d7afc07 Refactor USM properties
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties

Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-30 11:36:56 +01:00
Young Jin Yoon
06dad67c5a Add a return statement for getCsrForLowPriority
Related-to: LOCI-1124
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-12-29 21:34:05 +01:00
Jaime Arteaga
a6ac10088c Initialize kernel immutable data when kernel is created
This instead of when the associated module is created, to avoid
allocating memory for kernels that are never created nor used.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-29 19:29:10 +01:00
Vinod Tipparaju
1d7e91de24 Split cmdlist ULTs into two files
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-12-29 18:44:25 +01:00
Maciej Plewka
bb825acfff Mark heap as dirty when base address has changed
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-29 17:19:51 +01:00
Adam Cetnerowski
af84832e75 ULT renaming: Scenario tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-29 16:59:52 +01:00
Maciej Dziuban
544dd141ec Refactor addEngineToEngineGroup functions
This change replaces HwHelper::addEngineToEngineGroup with getEngineGroupType,
so we're able to map EngineType to EngineGroupType without pushing engines.

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-29 15:46:01 +01:00
Artur Harasimiuk
d7fd9a55e0 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
21.01.18793
2020-12-29 14:17:59 +01:00
Adam Cetnerowski
1748d9751d ULT renaming: Preemption tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-29 13:59:22 +01:00
Maciej Dziuban
60cb486086 OpenCL Queue Families extension 9/n
Disable capabilities for BCS

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-29 13:24:17 +01:00
Maciej Dziuban
510ba83e1e OpenCL Queue Families extension 8/n
Check capabilities for image to buffer and buffer to image copies

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-29 13:04:12 +01:00
Adam Cetnerowski
74651237b2 ULT renaming: Program tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-29 12:50:08 +01:00
Mateusz Jablonski
50841bfd0d Set arg local for all devices in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-29 12:40:53 +01:00
Krzysztof Gibala
2e346b58cd Enable memory transfer in enqueueMigrateMemObjects
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-29 12:03:22 +01:00