Commit Graph

6585 Commits

Author SHA1 Message Date
Bartosz Dunajski
90f96f083c Add const suffix
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-14 14:12:16 +01:00
Piotr Maciejewski
4a5599b1ee L0 Metrics Api: multi adapter support
Switching to Metrics Discovery adapter interface.
2021-01-13 22:45:59 +01:00
Mateusz Jablonski
09f9b2896e Add include guard to ocloc_api.h
Resolves: NEO-5442
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-13 17:38:13 +01:00
Jaime Arteaga
05b5ad37ea 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-13 17:22:40 +01:00
Filip Hazubski
2d033f5dea Update UltDeviceFactory
Use MockMemoryManager by default in UltDeviceFactory.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-13 17:22:23 +01:00
Bartosz Dunajski
a8fe9b7630 Add const suffix
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-13 16:39:23 +01:00
Krystian Chmielewski
db371ab6b9 Ocloc compile: return zebin format as is
If igc returns a zebin format ocloc should return it as it is.
2021-01-13 14:09:35 +01:00
ocldev
af1bf59c43 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2021-01-13 13:38:24 +01:00
Bartosz Dunajski
646b551da0 Helper to override platform name
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-13 11:22:44 +01:00
Lukasz Jobczyk
40390f7775 Add simple kernel tunning variant
Related-To: NEO-5327

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-01-13 11:09:22 +01:00
Jitendra Sharma
a2eeeff880 Update sysfs path for pmt telemetry
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-12 18:33:45 +01:00
Adam Cetnerowski
af6ac426f0 ULT renaming: VA Sharing tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-12 18:00:19 +01:00
Bartosz Dunajski
b3edd50d13 Manifest update
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-12 16:10:07 +01:00
Slawomir Milczarek
068cb09c90 Add function to check for USM host allocations in SVM Allocs Manager
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-12 15:41:24 +01:00
Filip Hazubski
90fd102fe5 Update MockDevice
Remove mockMemoryManager and mockCompilerInterface variables.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-12 14:44:05 +01:00
Mateusz Jablonski
5a5ad64f5d Ocloc compile: support gen families exposed in help
fix typo in method name

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
21.03.18857
2021-01-11 19:11:56 +01:00
ocldev
85a18d4dc9 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2021-01-11 16:01:54 +01:00
Slawomir Milczarek
d605234843 Add function to check if kernel has indirect stateless access to host memory
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-11 15:31:47 +01:00
Kamil Kopryk
d1d81c1f48 Revert "Enable blitter support for read/write images OpenCL"
This reverts commit 933b483b961351cbdb0a50d52bd61c76ae03443b.
2021-01-11 14:21:11 +01:00
Jaroslaw Chodor
b0c915c61d Optimizing binary size
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-01-11 11:48:53 +01:00
Jaime Arteaga
5c9d43e618 Revert "Remove unnecessary flush in event profiling"
This reverts commit a0db607083.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-10 22:59:41 +01:00
Jaime Arteaga
08655a315c Revert "Initialize kernel private surface when kernel is created"
This reverts commit be2a87fe98.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-10 22:56:32 +01:00
Jaime Arteaga
26b036ab97 Improve zeCommandListAppendMemoryFill Performance (2)
Add missing kernel for remainder kernel when pattern size is 1.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-09 08:41:17 +01:00
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