Commit Graph

14 Commits

Author SHA1 Message Date
Pawel Cieslak fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
Mateusz Jablonski 816eb19cce Define run_*_mt_tests in separated folders
Change-Id: I7844f7b2b63c100f1c03e7867043d746ef3793f8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-04 21:57:28 +01:00
Mateusz Jablonski bccfa1df38 Add cmake macro to append sources from properties
Change-Id: I06771c56ebca2e7a0dc5b65d6ea53aca95a70797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-20 11:58:10 +01:00
Mateusz Jablonski 79e7a51908 CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR

Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-14 12:18:50 +02:00
Mateusz Jablonski e4ed7e7f12 CMake: add IGDRCL_SOURCE_DIR to prefixes in create_project_source_tree macro
Change-Id: I0fceeab0b42fe58ec92fbaaa4b4704c0b2344647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-10 16:08:21 +02:00
Zbigniew Zdanowicz 11c601b4ef Add CLFLUSH intrinsic call
Change-Id: Ibebd88b7347b53fbb6dd8563501ee7699ce7ff89
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-08-07 10:35:48 -07:00
Maciej Plewka 0c22cdfb74 Add all subdirs to build directory
Change-Id: I27bf5e6644a0590bc932c0561e365a0684029c67
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-05-15 19:02:34 +02:00
Artur Harasimiuk 40146291ad Update copyright headers
Updating files modified in 2018 only. Older files remain with old style
copyright header

Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Mateusz Jablonski abbc0a5471 Compile kernels per platform type (core/lp)
compiled kernels are in (binary dir)/(family name with type) folder

Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +02:00
Mateusz Jablonski e3b1ba2112 Cmake refactor part 21
Add macro to simplify iteration for gens, platforms and test configs
Common usage:
1. Write macro "macro_for_each_platform", you can use variables:
   GEN_TYPE, GEN_TYPE_LOWER, PLATFORM_IT, PLATFORM_IT_LOWER
2. Write macro "macro_for_each_gen", you can use variables:
   GEN_TYPE, GEN_TYPE_LOWER
3. In macro "macro_for_each_gen" call "apply_macro_for_each_platform"
4. Call "apply_macro_for_each_gen" with gen type (SUPPORTED/TESTED)

When needed iterate over test configurations:
1. Write macro "macro_for_each_test_config", you can use variables from
   parent macro and SLICES, SUBSLICES and EU_PER_SS
2. In macro "macro_for_each_platform" call "apply_macro_for_each_test_config"
   with specified type (AUB_TESTS/MT_TESTS/UNIT_TESTS)

Change-Id: Icd537f409a224a1ffade1874065f8fee66189350
2018-03-26 17:51:34 +02:00
Chodor, Jaroslaw e035996fcc Adding configurable windows dll exports file
Allows having a single .def file template while supporting
dynamic concatenation of exported functions to the list

Change-Id: I5186f2f028092bad7e2968b96062edd96454d81d
2018-03-23 13:24:48 +01:00
Mateusz Jablonski 894060de50 Cmake refactor part 15
Cleanup unit_tests/CMakeLists.txt
Move shared sources to libult
define linux test projects in linux subdirectory

Change-Id: I0da18c79e6581412a04ddfb3795750db862ad95c
2018-03-15 12:12:09 +01:00
Mateusz Jablonski 2466f9363f Cmake refactor part 7
generate project source tree in all projects with sources
source tree is based on real paths

Change-Id: Ie10a6bffedb8020f25ebcb24a2f797086d8accbb
2018-03-06 14:26:05 +01:00
Mateusz Jablonski d1aa5f978d Cmake refactor part 6
Add macro to add all subdirectories
Add macro to create project source tree based on target sources
Small cleanup runtime/CMakeLists.txt

Change-Id: I9b99145c544f648c4c3fe7421752d0c5d9504edf
2018-03-02 00:39:41 +01:00