Commit Graph

80 Commits

Author SHA1 Message Date
6040923c80 CMake: Allow XeHpSdv support with NEO_ALLOW_LEGACY_PLATFORMS_SUPPORT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-24 12:37:12 +01:00
51f8fe0131 Disable XeHpSdv support on cmake level
Related-To: NEO-7526
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-22 17:47:06 +01:00
82952a7d99 Set default platform to PVC
Related-To: NEO-7526
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-22 15:53:12 +01:00
5f0b241b7a build: Append to, but don't overwrite, LD_LIBRARY_PATH
Closes: https://github.com/intel/compute-runtime/issues/318
Signed-off-by: Matt Turner <mattst88@gmail.com>
2022-11-18 23:30:58 +01:00
edca8aa6de Add cmake flag to add legacy platforms support
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-10-05 13:28:45 +02:00
9d18df63a9 Prevent auto-enabling gen flags for pre-gen12 devices on Windows
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-09-30 13:01:11 +02:00
409c2c5ca7 Add PVC builtin revisions
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-09-08 17:40:00 +02:00
64c09994ee Remove target ze_intel_gpu_exp_tests
Signed-off-by: Nagrodzki, Kacper <kacper.nagrodzki@intel.com>

Removed target "ze_intel_gpu_exp_tests"

That target was removed because it was an empty shell without any
tests

Related to: NEO-7007
2022-08-31 11:43:04 +02:00
89264b99e5 cmake: find metrics discovery with libigdmd name
Related-To: NEO-5615
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-08-09 11:15:37 +02:00
8424b27754 Rename core family names to meet naming convention
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-26 16:36:49 +02:00
ba0e3adcc0 cmake: add target to just build aub_tests for L0 and OCL
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-07 16:02:56 +02:00
df4bec03e8 update gen9 and gen11 support flags
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-07 12:23:46 +02:00
28edaa9a2d cmake cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 10:54:21 +02:00
0e65d3e667 hw_cmds.h usage refactor
create header with include for DEFAULT_PLATFORM what can be used in some
places

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 18:03:21 +02:00
1b7555a49d Opensource adln
Related-To: NEO-6818
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-13 12:47:54 +02:00
43b4b4375a infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-02 13:06:15 +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
673a6244ee Fix cmake ULT targets messages
- print correct working directory
- add full command line to run test targets

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-20 10:45:52 +02:00
d159679d1f build: fix ULT execution
properly setup depenencies if targets were created in other place

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-18 12:46:41 +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
676c7dde4c Allow setting gtest_output for targets
Related-To: NEO-6715
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-04-29 11:43:56 +02:00
a0bf3a2933 Improve xe_hpc revs
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-04-20 08:58:17 +02:00
a968cb223e disable metrics discovery detection
Disabling metrics discovery detection due to conflicts that the name libmd
creates with packages from ubuntu.

Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-03-18 12:18:14 +01:00
5183de21fa fix finding metrics when found empty
Do not try to include empty directories, as cmake will not
explicitely return directiories, which would be searched
by compiler anyway. Such found should still be considered
as successful.

Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-03-10 23:32:33 +01:00
534280fad6 Disable device enqueue
on icllp, cfl, kbl, skl

Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-03 17:34:30 +01:00
f663c509fe extend Metrics Discovery/Library detection
By default, use Metrics headers according to manifest.
If not available, use those from third_party as before.


Related-To: NEO-5615
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-12-28 10:14:08 +01:00
56224b4b55 Enable DG2 and PVC by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-27 18:18:48 +01:00
4b589bffd3 Enable PVC on Windows in Cmake
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 17:02:45 +01:00
670958ec2c Enable DG2 on Windows in Cmake
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 13:28:39 +01:00
f20236c7f2 Initial PVC support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>

Related-To: NEO-5542
2021-12-07 10:22:41 +01:00
29f74a1a98 Rename cmake GEN variables
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-24 14:42:57 +01:00
2d2b795f81 Don't skip neo shared tests when opencl tests are skipped
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-19 12:15:56 +01:00
91dfa5c2ac Initial DG2 support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-19 10:01:29 +01:00
bdf5a1c39c Disable deviceEnqueue for BDW
Related-To: NEO-6378

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-11-15 12:49:59 +01:00
ea373d2664 cmake: cleanup variable names
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-10 21:31:17 +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
a3c3fe18ce Cleanup IGC includes
- Remove IGC_COMMON_PARENT_DIR WA

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-11-04 14:44:59 +01:00
c5d403d65a Compile DG1 and XE_HP_SDV by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-03 09:31:46 +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
ad1c99378a Revert compiling DG1 and XE_HP_SDV by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-02 14:03:50 +01:00
0cde8eb7ff Change default revision for xe_hp_sdv
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-29 13:39:52 +02:00
947297d4e1 Compile XeHpSdv by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-10-28 14:05:23 +02:00
b152fdaea6 Don't setup TESTS_XE_HP_CORE if XE_HP_SDV tests are disabled
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 08:44:19 +02:00
32592d953b Enable DG1 by default
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-10-27 19:52:23 +02:00
740ceaf2c2 Dont compile aux translation builtin on not supported platforms
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-12 07:40:05 +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
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
e99e57e3ff add ability to intercept and trace of ULT execution
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-21 12:16:42 +02:00
394f9053a5 cmake refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-21 09:34:14 +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