16d9000429
Add option to change GRF mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-06 13:00:17 +02:00
ca0686b404
Unify include directories for i915 headers
...
include i915_drm_prelim.h using relative path
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-24 14:58:01 +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
670295e697
CMake: allow for setting OCL/OGL versions when defined OCL/OGL headers
...
It fixes warnings from https://github.com/intel/compute-runtime/issues/496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-23 11:40:11 +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
1f9960b305
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-07 12:17:53 +02:00
2b9827ad7d
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 11:52:27 +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
aff0ea99a8
Enable signed/unsigned mismatch warning for MSVC
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-29 14:12:10 +02:00
4ee27f11c0
CMake: disallow variable-length-array
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-27 23:22:08 +02:00
5745c3d99d
Change AOT enums type & use forward declaration
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-06-20 13:40:29 +02:00
d129cca4b0
Add /bigobj compilation flag
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-14 17:38:18 +02:00
6d365cbfc3
Ocloc: New AOT design implementation
...
Ocloc will handle any new values that may be
passed to the -device argument.
Supported acronyms are available under cmd:
ocloc compile --help
Supported patterns:
- device acronym
- release acronym
- family acronym
- version (major.minor.revision)
Fatbinary will no longer handle major.minor.revision variances,
only acronyms allowed.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-06-14 13:20:45 +02:00
cca1dbecbc
Revert "Ocloc: New AOT approach implementation"
...
This reverts commit a44f1b43aa
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-12 21:27:08 +02:00
a44f1b43aa
Ocloc: New AOT approach implementation
...
Ocloc will handle any new values that may be
passed to the -device argument.
Supported acronyms are available under cmd:
ocloc compile --help
Supported patterns:
- device acronym
- release acronym
- family acronym
- version (major.minor.revision)
Fatbinary will no longer handle major.minor.revision variances,
only acronyms allowed.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-06-10 09:24:13 +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
c021e2ec5e
L0 Debugger - DebugSession linux implementation
...
- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h
Resolves: NEO-6814
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-11 15:30:32 +02:00
ff7400d295
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-04-28 15:52:29 +02:00
ce645f13b7
Encode PRODUCT_CONFIG value into fatbinary
...
Change modifies the encoding entry in fatbinary for platforms.
If numbering in -device is used, the value PRODUCT_CONFIG will be encoded.
The functionality that returns the correct product config values has
also been added.
Related-To: NEO-6744
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-04-11 15:09:17 +02:00
ff240c66db
Update cmake for dynamic allocation tracking
...
If cmake variable ENABLE_DYNAMIC_MEMORY_TRACKING is true:
- add preprocessor definition to enable tacking
- change linker options to export all symbols
Related-To: NEO-6837
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-04 12:34:22 +02:00
cf906030ac
Add neon intrinsics for aarch64
...
Related-To: NEO-6452
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-03-29 18:22:32 +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
f20c573231
disable prelim headers detection by default
...
Related-To: NEO-6625
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-03-15 09:14:31 +01:00
187f772ae5
Remove drm_query_flags
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-23 13:49:37 +01:00
584f154d58
cmakes refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-02-18 21:44:28 +01:00
3a1fb87b1e
add CETCOMPAT linker flags
...
Resolves: NEO-6670
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-02-11 12:33:53 +01:00
5847881569
set CCACHE_BASEDIR for linker only when cmake generator is Ninja
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-02-03 19:32:29 +01:00
36f8f67f20
setup CCACHE_BASEDIR
...
This is to help in better ccache utilization while building the same
code but located in different folders.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-02-03 13:31:41 +01:00
f45fadf89b
Add cmake flag to disable i915 prelim headers detection
...
Related-To: NEO-6625
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-31 16:48:30 +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
997d28f6b2
infra update
...
Removing legacy linter.
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-01-03 14:33:47 +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
9d063f29d2
refactor support of other architectures
...
- cmake refactor to disable ld.gold and ld.lld usage when cross-compiling
- skip some ULTs when CPU feature is not available
Related-To: NEO-6017
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-16 12:54:51 +01:00
4981cbf9c5
cmake: detect level_zero folder presence
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-24 17:57: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
3cf2e2e395
Use drm tip kernel headers as default 2/2
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-15 17:16:54 +01:00
d2a4af9d9d
CMake cleanup: move opencl logic to opencl folder
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-12 12:23:45 +01:00
ea373d2664
cmake: cleanup variable names
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-10 21:31:17 +01:00
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
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
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
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
2b815ab605
cmake refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-04 12:16:19 +01:00
bdcc8aec72
check compiler support before using non-default linker
...
compiler may not support:
-fuse-ld=lld
-fuse-ld=gold
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-04 10:32:48 +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
13f7332911
Correct i915 headers selection
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-10-26 12:15:52 +02:00
c3e5e4d3cc
cmake: refactor add_subdirectory for shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-26 07:41:08 +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
9d56939980
Refactor creation of buffer surface state 1/n
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-21 13:11:31 +02:00
1a25cf0fe8
Enable xe_hp_sdv i915 config
...
Related-To: NEO-6149
Source location of Linux kernel DRM/i915 interface headers:
9641c49adb
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-10-15 13:20:16 +02:00