Mateusz Jablonski
61e5e0687d
Patch all implicit args relocations within every kernel
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-11 14:34:28 +01:00
Kamil Diedrich
34856747b4
Add implementation for reading logical subDevice from builtin
...
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-11 13:06:15 +01:00
Dominik Dabek
300a971af3
Use igc interface to get max param size
...
IGC will be queried for max parameter size at the end of initializing
device caps.
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-28 16:10:05 +01:00
Kamil Diedrich
2bbe7438ce
Revert "Add implementation for reading logical subDevice from builtin"
...
This reverts commit 901e1e71f95a8cd90611ed7cbd25705a14f38170.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-27 15:58:51 +01:00
Patryk Wrobel
3599e7aeda
Add warning when device binary had to be recompiled
...
Introduced a new warning, which is printed to build log, when the
binary needs to be recompiled. Added a new flag -Wno-recompiled-from-ir
to allow suppression of that message. Removed a bug related to memcpy_s
from ModuleBuildLogImp::getString() and aligned it with specification.
Related-To: NEO-5819
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2021-12-23 16:13:59 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 13:09:50 +01:00
Krystian Chmielewski
7e08e56d50
Zebin: allow undef symbols
...
Skip undefined symbols when decoding ELF symbol table
instead of treating them as error in zebin path in
order to support dynamic linking scenarios.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-12-13 15:31:56 +01:00
Kamil Diedrich
24c19509b3
Add implementation for reading logical subDevice from builtin
...
- add function for resolving builtins using relocations
- add relocation for __SubDeviceID symbol
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-09 13:20:49 +01:00
Mateusz Hoppe
d72a4491be
Add error handling in SipKernelBinary
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-29 13:25:15 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Mateusz Jablonski
c83828be6c
Move compiler interface tests to shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-25 12:35:06 +01:00
Artur Harasimiuk
7eb5b6aa42
mock dlopen in tests to block unwanted interactions
...
- explicitly specify files allowed to dlopen()
- use underscore to prefix fake library name that we want dlopen to
return nullptr
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-23 12:55:48 +01:00
Mateusz Jablonski
abb1f30cd0
Program implicit args only in case of stack calls or enabled debugger
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-18 14:33:11 +01:00
Kamil Kopryk
7b8820f23e
Simplify ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-11-17 14:46:08 +01:00
Artur Harasimiuk
35f135bbc8
compiler cache to store input into separate file
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-16 17:23:17 +01:00
Mateusz Jablonski
75a5aed81d
Refactor patching implicit args relocation
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-15 17:09:36 +01:00
Krystian Chmielewski
06eaef0352
Zebin: Use strings section for printf
...
Resolves: NEO-6143
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-11-07 19:10:47 +01:00
Artur Harasimiuk
53223dc2b5
create trace files about cl_cache usage
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-29 18:21:49 +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
664b33787d
Move appending compiler extensions to compiler parser
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-20 16:10:54 +02:00
Mateusz Hoppe
2fb8edb69f
Refactor SipKernel
...
- add debug bindless SipKernelType
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-10-19 11:45:24 +02:00
Mateusz Jablonski
aa0cb7a8bf
Add ult specific config to neo_shared_tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 08:55:47 +02:00
Kamil Kopryk
cfc673b77c
Add compilerHwInfoConfig
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6237
2021-10-06 21:27:34 +02:00
Artur Harasimiuk
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-20 16:46:50 +02:00
Mateusz Jablonski
0d1c8be447
Handle implicit arg relocation in L0 module
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-14 08:57:10 +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
Kamil Kopryk
9293c9b676
Use isMidThreadPreemptionSupported helper in compiler interface
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-09 18:17:09 +02:00
Krystian Chmielewski
0b9e87e35f
Add support for data relocations using symbols
...
Support symbols for data relocations.
Remove unused symbolSegment field in RelocationInfo.
Related-To: NEO-5833
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-08-24 13:10:20 +02:00
Igor Venevtsev
43fdd90330
Add bindlessSip param to SIP queries
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-08-19 13:56:05 +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
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
Compute-Runtime-Validation
d81c637b96
Revert "Use igc interface to get max param size"
...
This reverts commit a04d206fdd
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-07 08:50:27 +02:00
Dominik Dabek
a04d206fdd
Use igc interface to get max param size
...
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-08-06 12:57:21 +02:00
Krystian Chmielewski
34be220943
Enable relocation from instruction to data seg
...
Related-To: NEO-5833
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-08-05 14:24:29 +02:00
Kamil Kopryk
4b8e1671a5
Sort inside cmake files
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-07-30 10:06:46 +02:00
Krystian Chmielewski
9c7d8a183b
Decode zebin reloc types
...
Change LinkerInput::RelocationInfo::Type to be compliant with zebin
relocation types.
Add support for setting relocation type if zebin relocation
type is set.
Continue supporting R_AMD64_64 and R_AMD64_32 relocation types for
backward compatibility
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-07-16 12:33:51 +02:00
Bartosz Dunajski
a49b45a679
Initialize HwInfo in tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-30 17:59:46 +02:00
Filip Hazubski
b3283a4490
When initializing gtSystemInfo initialize DualSubSliceCount
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-01 14:52:19 +02:00
Dominik Dabek
d0cb27226f
Move mocks: cif, gmm context, compilers
...
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-27 12:51:28 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Matias Cabral
e35ffb0601
Retrieve state save area header from IGC
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2021-04-10 03:28:51 +02:00
Filip Hazubski
9a8125cdb0
Correct formatting
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Mateusz Hoppe
ce15a85a0b
Fix debug data relocations
...
Related-To: NEO-4769
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-16 09:27:14 +01:00
Zbigniew Zdanowicz
779253c49c
Add new flag to USM memory manager
...
Related-To: NEO-5498
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-10 11:47:34 +01:00
Mateusz Hoppe
f00a2c9422
Add UseBindlessDebugSip debug variable
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:41:12 +01:00
Mateusz Hoppe
6dd0f0c728
Relocate debug data
...
Related-To: NEO-4769
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-16 14:59:30 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
Mateusz Hoppe
5d2ea72db6
Handle relocations from zeBin
...
Related-To: NEO-5323
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-21 13:16:38 +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