Mateusz Jablonski
739d181026
refactor: correct naming of enum class constants 6/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 14:48:52 +01:00
Mateusz Jablonski
36194c4e7d
refactor: correct variable namings
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 23:49:03 +01:00
Mateusz Jablonski
78b01e25d3
fix: correct number of returned L0 drivers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-15 10:14:11 +01:00
Compute-Runtime-Validation
ec24eb0a4c
Revert "fix: correct number of returned L0 drivers"
...
This reverts commit dcb351e9dd .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-04 02:24:26 +01:00
Mateusz Jablonski
dcb351e9dd
fix: correct number of returned L0 drivers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-03 13:53:25 +01:00
Mateusz Jablonski
f9f5377218
test: remove gmock from metrics ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-27 09:38:23 +02:00
Naklicki, Mateusz
53ec99f27c
build: dependencies update
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-10-11 17:50:27 +02:00
Mateusz Jablonski
c22482f6f7
test: unify main function for test targets
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-07-28 20:00:45 +02:00
Rafal Maziejuk
6abdc64d73
refactor: move gen_kernel.cmake file to test_modules directory
...
Related-To: NEO-7975
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-06-07 12:28:58 +02:00
Neil R Spruit
102c38fc34
feature: Use L0 Loader teardown callback
...
Related-To: LOCI-4174
- Call zelSetDriverTeardown during L0 Driver teardown to prevent users
from calling into destroyed functions and encountering crashes
during teardown.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-05-02 19:42:06 +02:00
Compute-Runtime-Validation
41ad05eb52
Revert "l0_feature: Use L0 Loader teardown callback"
...
This reverts commit d31b950b9a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-04-12 06:45:46 +02:00
Neil R Spruit
d31b950b9a
l0_feature: Use L0 Loader teardown callback
...
Related-To: LOCI-4174
- Call zelSetDriverTeardown during L0 Driver teardown to prevent users
from calling into destroyed functions and encountering crashes
during teardown.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-04-11 11:16:26 +02:00
Mateusz Jablonski
4647180c76
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-04 13:48:16 +01:00
Compute-Runtime-Validation
5a6d358166
Revert "refactor: remove platform type string"
...
This reverts commit 58b443ecf1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-04 11:08:51 +01:00
Mateusz Jablonski
58b443ecf1
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-04 09:26:29 +01:00
Krystian Chmielewski
d4fe9298bf
fix(debug zebin): handle misaligned access
...
Handle misaligned access when aplying debug relocations in zebin.
Debug relocations entries have offsets which are not of natural
alignment, and need to be specificialy handled.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-12-01 10:45:17 +01:00
Mateusz Jablonski
25a95bd0c5
L0 ULT: force patchtoken format for test kernels
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-25 19:16:09 +01:00
Mateusz Jablonski
30a20236f0
Don't use dbg files from ocloc in unit tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-23 23:16:38 +01:00
Kacper Nowak
5b8284d162
Remove remaining dependency on precompiled test kernel in L0
...
- Enhance zebinary module mock for L0 with kernel attribute,
so at this point L0 ULTs are completely free from IGC dependencies.
Related-To: NEO-7281
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-09-09 14:33:58 +02:00
Kacper Nowak
b41eed8438
CMake: correct test kernels naming + minor improvements
...
- For test kernels compiled with options passed, change their naming to
following convention:
{basename}_{options_passed}_{suffix}.
- Correct CMake variables naming.
- Refactor logic of retrieving test kernels' data (also in compilers
mock)
- In relation to previous changes: do not generate unnecessary
.gen binary for L0 test kernel
Related-To: NEO-7285
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-09-06 11:19:46 +02:00
Kacper Nowak
9d2df74fb9
L0: remove not needed test module
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-08-18 13:26:00 +02:00
Dominik Dabek
0263ec0d84
Add test kernel for indirect allocations
...
Add kernel for testing indirect allocation
address getting passed by value.
Needed for future commit.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-08-11 14:00:06 +02:00
Mateusz Hoppe
3cd4114733
Move L0Debugger tests to shared
...
- change tests to non-parameterized when parameters are not needed
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-06 12:19:03 +02:00
Mateusz Hoppe
8d50aaeac0
Cleanup cmake files
...
remove unnecessary string(CONCAT ...)
remove unused function
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-31 15:37:16 +02:00
Zbigniew Zdanowicz
9b39a21fff
Add new module tests and test kernels
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-05-20 22:30:50 +02:00
Artur Harasimiuk
52da8f7260
allow external definition of NEO_KERNELS_BIN_DIR
...
Related-To: NEO-6783
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-03-24 12:00:46 +01:00
Grzegorz Choinski
6133d8c4b5
fix paths to prebuilt kernels
...
It otherwise looks for different path to copy kernel than it is generated into
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-03-09 18:55:44 +01:00
Igor Venevtsev
2263fe59ec
Generate revision-specific kernels for L0
...
Resolves: NEO-6504
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-03-03 13:37:41 +01:00
Grzegorz Choinski
b41f088fe9
rename neo_test_kernels to kernels_bin
...
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-03-02 13:46:26 +01:00
Mateusz Hoppe
a73d3612ce
Refactor L0 mock enablers
...
- add l0_libult target that groups all enablers
- enhance aub fixture - add debugging mode
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-03-01 13:49:26 +01:00
Compute-Runtime-Validation
1634ac9ec3
Revert "Dont generate gen file by default"
...
This reverts commit 95943dee0f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-24 14:46:29 +01:00
Mateusz Borzyszkowski
95943dee0f
Dont generate gen file by default
...
Ocloc can dump gen file when we add -gen_file flag to cmd.
Otherwise gen is not generated
Signed-off-by: Mateusz Borzyszkowski <mateusz.borzyszkowski@intel.com >
2022-01-17 18:14:50 +01:00
Dominik Dabek
17beabc32d
Add full src path to ocloc cmd
...
Makes it easier to copy and execute the command
Related-To: NEO-6002
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-21 13:01:58 +01:00
Mateusz Hoppe
8b233f7f45
Support for bindless mode in L0 - improvements
...
Related-To: NEO-6448
- add new IGC compilation flag when bindless mode used
- fix SBA programming of BindlessSurfaceStateSize -
always set maximum surface state count
- fix residency of global DSH heap on gen9 - gen12lp
in bindless mode
- add L0 aub test with bindless kernel - disabled
- partial fixes in OCL aub tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-02 16:30:58 +01:00
Bartosz Dunajski
29f74a1a98
Rename cmake GEN variables
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-24 14:42:57 +01:00
Pawel Cieslak
bc11f7b4f7
Use prebuilt kernels if they exists
...
Related-To: NEO-6370
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-10 13:30:00 +01:00
Mateusz Jablonski
3e5d68deab
CMake cleanup: define cmd prefix for ocloc in one place
...
rename cloc_cmd_prefix -> ocloc_cmd_prefix
rename __cloc__options -> __ocloc__options
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-09 10:46:01 +01:00
Pawel Cieslak
107a41a4c4
Revert "Use prebuilt kernels when NEO_DISABLE_BUILTINS_COMPILATION=TRUE"
...
This reverts commit 3bff852ac0 .
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-08 18:50:12 +01:00
Pawel Cieslak
3bff852ac0
Use prebuilt kernels when NEO_DISABLE_BUILTINS_COMPILATION=TRUE
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-08 11:43:49 +01:00
Pawel Cieslak
848d94f406
Improve prepare_test_kernels targets to build kernels required in ULTs
...
Related-To: NEO-6370
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-02 17:54:12 +01:00
Artur Harasimiuk
c225923240
enable test kernels from prebuilt binaries
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-08 12:57:11 +02:00
Mateusz Jablonski
b99adecece
Correct test kernel dependencies for l0 aub tests
...
Related-To: NEO-6328
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-08 10:31:29 +02:00