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
57da7ad307
Don't generate gen file by default
...
Related-To: NEO-6613
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-09-05 15:00:48 +02:00
835174c076
Remove builtins duplication
...
Resolves: NEO-7064
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-24 07:27:46 +02:00
260a324a6f
Move files between shared/test/common and /unit_test (xe_*_core, page_fault...)
...
common/xe_hpc_core/test_preemption_xe_hpc_core -> unit_test/xe_hpc_core
common/xe_hpg_core/excludes_xe_hpg_core -> unit_test/xe_hpg_core
common/xe_hpg_core/dg2/excludes_dg2 -> unit_test/xe_hpg_core/dg2
common/xe_hpg_core/test_preemption_xe_hpg_core -> unit_test/xe_hpg_core
unit_test/base_ult_config_listener.cpp -> common
unit_test/base_ult_config_listener.h -> common
unit_test/test_stats.h -> common
unit_test/test_configuration.h -> common
unit_test/page_fault_manager/cpu_page_fault_manager_tests.h -> common/fixtures
unit_test/page_fault_manager/mock_cpu_page_fault_manager.h -> common/mocks
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-17 16:17:00 +02:00
58a56a6223
CMake: Block bindless compilation for Gen8 + minor cleanup
...
- Do not compile test binaries in bindless mode for BDW (Gen8) - add
missing conditional.
- Remove unused CMake variables.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-07-14 23:44:39 +02:00
28edaa9a2d
cmake cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 10:54:21 +02:00
a5d8eea3d5
Move test_dynamic_lib to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-13 16:40:26 +02:00
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
8f5467d3c6
test: create working dir for tests
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-23 12:02:01 +02:00
dc78375d46
use test_files from source location in ults
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-20 14:20:13 +02:00
17b0ddd2a3
ULT execution refactor
...
Add targets to run shared, OpenCL and L0 tests separately. Bind all
these to run_unit_tests.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 16:19:40 +02:00
1088bfd837
Move shared ULT helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-06 09:20:27 +02:00
903cf766b3
Revert "Move shared helper files to shared directory"
...
This reverts commit 459524f129
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-27 13:12:16 +02:00
459524f129
Move shared helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-27 10:34:42 +02:00
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
30ca074f73
Compile gen specific kernels
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-23 14:37:11 +01:00
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
73f8d9e3ed
Remove device enqueue part 14
...
- rename not proper structs
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-31 17:46:57 +01:00
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
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
d2818aaea2
Remove device enqueue part 5
...
-remove scheduler and builtin_kernels_simulation
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-13 14:15:26 +01:00
df2e31dbb0
Print ocloc options from file on fail if quiet
...
Currently if ocloc fails and options are read from file, no information
about them will be printed or logged if -q is passed.
With this change, ocloc will print options read from file on compilation
or initialization error.
Related-To: NEO-6002
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-28 16:50:05 +01:00
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
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
29f74a1a98
Rename cmake GEN variables
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-24 14:42:57 +01:00
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
a0243eb1bc
Correct prepare_test_kernels targets
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-05 17:07:51 +01:00
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
ae610ea602
Remove compute_runtime_mockable_extra lib
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-27 17:41:17 +02:00
7fad2fd1c4
Cleanup multiple static lib linking
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-26 08:19:56 +02:00
260997ccd1
Cleanup cross component dependencies
...
dont link opencl lib to non-opencl targets
link compute_runtime_mockable_extra only to l0 targets
reuse include paths and definitions from neo_shared lib
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-25 11:05:18 +02:00
ef3f93a178
Create neo_libult target
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-22 16:55:07 +02:00
391e691cc1
Rename igdrcl_libult_common to neo_libult_common
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-22 14:46:16 +02:00
802a272c5f
Move mock_gmm_memory to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-22 13:46:46 +02:00
76b1574618
Remove redundant test_mode.h files
...
cleanup include directories
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 15:44:30 +02:00
c225923240
enable test kernels from prebuilt binaries
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-08 12:57:11 +02:00
996dd18b76
WSL - partition layout for 48-bit limited addressing
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-09-28 18:09:46 +02:00
4e4218e3cc
Add flag for disabling kernel compilations
...
Related-To: NEO-6012
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-09-23 00:02:26 +02:00
1ec3035cb1
rename igdrcl_libult_cs to neo_libult_cs
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-22 10:56:29 +02:00
0b0edcf1f2
Correct MOCS index calculation
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-21 11:23:53 +02:00
3f42264332
Fix cmake SHOW_VERBOSE_UTESTS_RESULTS
...
- rename to NEO_SHOW_VERBOSE_ULT_RESULTS
- suppress prints from ULTs
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-20 10:04:32 +02:00
895e9e5116
initial Neo enabling on architectures other than x86
...
Related-To: NEO-6011
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-14 09:14:52 +02:00
5be234111c
allow disable builtins compilation
...
Related-To: NEO-6011
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-07 18:02:54 +02:00
c3eb876943
disable compiler optimizations for ULT
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-08-14 13:32:46 +02:00
ca4068aafc
Create shared libult_common object library
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-06-12 09:46:42 +02:00
b80a51e5bf
Adding wsl_compute_helper
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-06-07 14:36:21 +02:00
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
f883376e61
Move test configuration files to shared/common directory
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-05-25 16:12:31 +02:00
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
adcfc5017f
Serialize copying test files per platform config
...
Related-To: NEO-5664
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-18 15:21:02 +01:00