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
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
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
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
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
Matias Cabral
7ac97fd929
Use independent Elf UUID generation
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2020-12-24 01:56:51 +01:00
Mateusz Hoppe
ed1e3de54a
Revert "Switch to new compiler interface to get system routine"
...
This reverts commit 09bdd2ad09
.
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-23 15:50:57 +01:00
Jitendra Sharma
7c70a14bc4
Implement ZE_ENABLE_PCI_ID_DEVICE_ORDER environment variable
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-12-23 12:08:43 +01:00
Mateusz Hoppe
09bdd2ad09
Switch to new compiler interface to get system routine
...
Related-To: NEO-4773
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-22 17:20:30 +01:00
Jaime Arteaga
1091a5d78b
Extend kernel encoder interface test
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-22 10:25:23 +01:00
Katarzyna Cencelewska
ff3d4799ca
Refactor cmake
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-12-22 00:41:43 +01:00
Slawomir Milczarek
6986d5de0b
Add helper functions for memory compression to CSR
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-21 17:43:03 +01:00
Bartosz Dunajski
7abd1c97ab
Debug flag to override profiling timer resolution
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-21 13:41:22 +01:00
Mateusz Hoppe
1dcbbfa21d
Link device binary format files to shared lib
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-21 12:55:58 +01:00
Krystian Chmielewski
903ed4e6d4
add ocloc versioning
...
Adds versioning of ocloc and new api function returning ocloc
version.
2020-12-18 17:16:31 +01:00
Konstanty Misiak
e665111013
Verify debug manager state in UltConfigListener
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-12-18 14:18:36 +01:00
Kamil Kopryk
2a8bdaf28c
Code cleanup
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-12-17 13:44:09 +01:00
Daria Hinz
1ef9a1c35f
Add extended functionality for timestamps at Event
...
Related-To: NEO-4584
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-12-17 10:53:16 +01:00
Krystian Chmielewski
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
Jim Snow
37cd49330c
Implement ZE_CACHE_CONFIG_FLAG_LARGE_DATA for zeKernelSetCacheConfig
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-12-16 07:00:13 +01:00
Slawomir Milczarek
b2cae02f66
Add kernel fixture with stateless indirect access
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-15 13:23:37 +01:00
Pawel Wilma
d94e2bf149
Refactoring of per-DSS backed buffer programming
...
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 22:22:47 +01:00
Artur Harasimiuk
7716988dbb
cmake cleanup: removing unused targets
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 19:00:11 +01:00
Pawel Wilma
9bd0c69913
Add ClearColor allocation support for blitter
...
Related-To: NEO-5175
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
Artur Harasimiuk
05ab806126
cmake: refactor unit tests targets dependencies
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 14:57:42 +01:00
Filip Hazubski
b0ed0dcc9b
Generate spirv builtins without specifying a device
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-11 16:57:44 +01:00
Mateusz Hoppe
0747cb80f5
Sip programming changes
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 15:05:30 +01:00
Mateusz Hoppe
778a4acca3
Initialize debugger structs
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 12:40:59 +01:00
Maciej Plewka
830bcd6987
Scratch using bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-11 09:38:44 +01:00
Jaime Arteaga
d46bb59508
Migrate shared-allocations made resident with makeMemoryResident
...
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.
So, add a container of resident allocations to the driver and migrate
them along with the other allocations.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-11 03:27:42 +01:00
Jaroslaw Chodor
d9eb19e6c4
ocloc - adding support for includes
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 22:59:15 +01:00
Jaroslaw Chodor
993ea27e25
Adding platform info for FCL
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 16:31:46 +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
b6a20f9b23
Move mock_gmm and mock_gdi to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 13:45:57 +01:00
Mateusz Jablonski
9183a9b638
Correct shared tests
...
create mock_gmm target if not exists
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 19:31:57 +01:00
Kacper Nowak
4804eca86d
Refactoring Level Zero ULTs in order to use standalone spirv builtins
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-12-08 09:19:05 +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
Filip Hazubski
edbda8e8b2
Pass HwInfo to computeSlmValues function
...
Resolves: NEO-5215, NEO-5216
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 20:23:28 +01:00
Filip Hazubski
3770048532
Update parsing of -internal_options in ocloc
...
Add internal options provided by the user after
the generated internal options.
Related-To: NEO-5152
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 15:15:16 +01:00
Filip Hazubski
2859023642
Add -ocl-version option when compiling without device
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 21:02:18 +01:00
Filip Hazubski
ce4b6dbcd8
Update builtins hash
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 16:41:45 +01:00
Filip Hazubski
23d4967f79
Correct generating extensions list for compiler
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 15:15:49 +01:00
Kamil Diedrich
79d4af28de
Switch to c++17
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-03 15:15:32 +01:00
Mateusz Hoppe
8198a739c8
Refactor Sip Kernel usage
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-03 10:43:53 +01:00
Young Jin Yoon
da779d067f
Support the AND operation in EncodeMathMMIO
...
Related-to: LOCI-1161
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-12-03 01:56:22 +01:00
Maciej Plewka
7a5c9d39b5
Encode dispatch kernel with global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-02 17:30:15 +01:00
Jaime Arteaga
be90b9ff93
Add support for ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED
...
Add support for device and shared allocations that use the
ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED flag, whether the
kernel using the memory is stateless or statefull.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-02 10:43:45 +01:00
Bartosz Dunajski
ce53035ebc
Unit tests fixes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-02 09:40:20 +01:00
Jobczyk, Lukasz
343fd602fa
Add method to submit kernel on single subdevice
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00