Commit Graph

15 Commits

Author SHA1 Message Date
Piotr Fusik d4a0c4852b Move EngineType to aub_stream.
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Cetnerowski, Adam d46969a7f2 Rename offline compiler: cloc -> ocloc
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Artur Harasimiuk 97c56b9de0 cmake: refactor cloc invocation
Change method used to pass options to cloc when compiling scheduler and
precompiled kernels. Instead of plain variable use list() which is more
convenient and flexible when generating build system.

Change-Id: Ieb90defc24a66932250dd610691650880ba1be76
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-16 10:40:46 +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
Zdunowski, Piotr 0a1c4a5e41 Fix double scheduler compilation.
Change-Id: I16814bf4f027df67bf2b518077076aea93c52cf0
2018-07-12 12:22:20 +02:00
Artur Harasimiuk bc2403acfd allow IGC to be discovered by pkg-config
New detection flow:
1. check for IGC__IGC_TARGETS and respect if defined -> IGC available
2. on Linux try using pkg-config to find IGC
   - package can be part of workspace, in this case we have to tweak
     some variables
3. check whether igc folder contains CMakeLists.txt and do
   add_subdirectory if yes.
4. IGC not available -> fail

other changes:
- rename compiler.config to match name from IGC devel package

Change-Id: I6c2369f8b83db66327d76c9b08af833736e8a3f9
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-20 13:13:58 +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
Zdanowicz, Zbigniew 029094437a Change identification of gen families from number to type
Change-Id: I780528aeb2572fc95d8cd9a20eba26687156726b
2018-03-21 19:22:46 +01:00
Zdunowski, Piotr 059104adef Fix for double scheduler compilation.
Change-Id: Ia265686354b288dc4817909f58680e1824079ad2
2018-03-15 15:55:35 +01:00
Artur Harasimiuk d6cc695c9c cmake: properly set variable inside function
Change-Id: I6a7060077dd9deced16ac031b8242c3e5a78e679
2018-03-15 08:50:40 +01:00
Artur Harasimiuk a78111c892 cmake cleanup
- remove unused cmake code
- small cleanup around scheduler compilaiton
- remove misleading message related to compiler copying
  message is generated before copy_if_different operation and may be
  incorrect when such copy doesn't happen

Change-Id: Ia419d1ea26e9149b4282dc4883ddda0232ffd3f4
2018-03-06 08:04:40 +01:00
Zdunowski, Piotr e3268f8a9c Revert "Allow custom props settings."
This reverts commit f43a04d3b2.

Change-Id: Ib4cd854c19fe96b0ea9d5e3782d1247c265927c9
2018-02-23 16:01:31 +01:00
Zdunowski, Piotr f43a04d3b2 Allow custom props settings.
Change-Id: Idd442f429e8f413cde67781995e0c1b1c010bcee
2018-02-21 12:16:35 +01:00
Mateusz Jablonski 430c991179 Cmake refactor part 4:
Move scheduler binary target definition to scheduler/scheduler_binary.cmake
Move builtins binary target definition to built_ins/builtins_binary.cmake
Move builtins and scheduler sources definition to CMakeLists.txt files

Change-Id: Ieb71133f4238b4db66a46c1bd01d6a8e5abaf0f7
2018-02-16 11:43:20 +01:00