Commit Graph

364 Commits

Author SHA1 Message Date
Zbigniew Zdanowicz
fa44cc13a6 feature: add wrappers to waitpkg intrinsics
Related-To: NEO-9737

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-12-14 13:52:18 +01:00
Lukasz Jobczyk
c8c3f862f4 refactor: Add key to force zero copy without coherency
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-12-07 07:56:54 +01:00
Mateusz Jablonski
75ed29ceef build: correct flags for building clang on Windows with UBSAN
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-08 15:42:14 +01:00
Brandon Yates
fd48de3da9 feature(debugger): Add initial Xe debugger skeleton
sync xe_drm.h for debugger to 1d2144ed from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev

Related-to: NEO-8402

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-07 17:36:18 +01:00
Grzegorz Choinski
7a9170aacc build: disable wddm linux based on supported platforms
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-10-19 13:39:11 +02:00
Mateusz Jablonski
a3faf5dacc feature: Add support for ARL-S
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-13 10:28:21 +02:00
Mateusz Jablonski
8da3879944 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-19 14:40:24 +02:00
Mateusz Jablonski
a31fbe1dac build: use include path from aub_stream target when target exists
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-29 13:58:31 +02:00
Artur Harasimiuk
b578e4ad57 refactor: cmake cleanup
Related-To: NEO-8256, NEO-8257

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-28 11:40:48 +02:00
Compute-Runtime-Validation
5114988f34 Revert "refactor: cmake cleanup"
This reverts commit 9da3960123.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-28 03:05:49 +02:00
Artur Harasimiuk
9da3960123 refactor: cmake cleanup
Related-To: NEO-8256, NEO-8257

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-25 18:07:48 +02:00
Fabian Zwolinski
6fca8ee195 refactor: Remove SourceLevelDebugger
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h

Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-08-10 11:14:02 +02:00
Mateusz Jablonski
0f47295a23 build: add cmake flag to enable interprocedural optimization
Related-To: NEO-6904
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-05 09:43:15 +02:00
Grzegorz Choinski
3fc1957c1f ci: infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-06-20 13:51:37 +02:00
Matias Cabral
38bc7ae403 build: update i915 headers
third_party/uapi/drm - from c7c12de893f808bd7c1215fe9056262295e5203b
https://cgit.freedesktop.org/drm-tip

third_party/uapi/prelim/drm from prelim v2.0-rc17
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by:  Matias Cabral <matias.a.cabral@intel.com>
2023-05-22 10:25:00 +02:00
Diedrich, Kamil
5149d74141 refactor: Remove globaly enabled cl_cache
Current behaviour will be detecd path existence

Related-To: NEO-4262

Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
2023-04-28 23:28:49 +02:00
Kamil Kopryk
171e97e71a feature: introduce release helper
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-04-27 21:38:08 +02:00
Filip Hazubski
3cfba5b73d refactor(cmake): check images support per platform instead of per core
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-03-13 16:14:39 +01:00
Mateusz Jablonski
35b8fba1d8 feature: add cmake flag to detect Xe drm
This is a prework for optional integration with Xe driver
https://cgit.freedesktop.org/drm/drm-xe/commit/?h=drm-xe-next

Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-09 09:42:37 +01:00
Mateusz Jablonski
f629b403c8 CMake: Define OpenCL specific include directories in opencl dir
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 09:35:47 +01:00
Kamil Diedrich
1c9f17844b Add wddm ult for wsl build [2/n]
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-12-07 14:42:49 +01:00
Mateusz Jablonski
bb308c04ed Refactor aubstream include interface
set include path to third_party/aub_stream
rename third_party/aub_stream/headers -> third_party/aub_stream/aubstream

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-23 10:30:13 +01:00
Mateusz Jablonski
4995bddb89 Require aub stream in ubuntu builds
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-21 15:29:52 +01:00
Pawel Cieslak
cf66060533 Use provided I915_HEADERS_DIR in osv style builds
Related-To: NEO-5838
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-11-08 12:11:44 +01:00
Mateusz Hoppe
502a9443f1 Set ENGINE_NODE_DIR from aubstream property
- do not use generator expression to print path
in MESSAGE()

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-10-13 19:09:21 +02:00
Mateusz Hoppe
ff5b6918fd Allow using interface include dir from aubstream
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-10-06 12:43:50 +02:00
Grzegorz Choinski
f06ebef745 infra update
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-09-26 17:37:33 +02:00
Artur Harasimiuk
878d646772 packaging refactor
- update versioning for RPM
- make .spec files more verbose

Print information about CCACHE_BASEDIR from environment.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-09-23 14:30:28 +02:00
Artur Harasimiuk
8ff60d1137 refactor NEO_DISABLE_MITIGATIONS option
Related-To: NEO-7227
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-09-23 10:59:11 +02:00
Dunajski, Bartosz
16d9000429 Add option to change GRF mode
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-09-06 13:00:17 +02:00
Mateusz Jablonski
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
Krystian Chmielewski
835174c076 Remove builtins duplication
Resolves: NEO-7064

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-08-24 07:27:46 +02:00
Mateusz Jablonski
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
Artur Harasimiuk
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
Artur Harasimiuk
1f9960b305 hw_cmds.h for XE refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-07 12:17:53 +02:00
Artur Harasimiuk
2b9827ad7d hw_cmds.h for XE refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 11:52:27 +02:00
Artur Harasimiuk
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
Bartosz Dunajski
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
Mateusz Jablonski
4ee27f11c0 CMake: disallow variable-length-array
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-27 23:22:08 +02:00
Daria Hinz
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
Kamil Kopryk
d129cca4b0 Add /bigobj compilation flag
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-14 17:38:18 +02:00
Daria Hinz
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
Compute-Runtime-Validation
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
Daria Hinz
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
Artur Harasimiuk
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
Mateusz Hoppe
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
Artur Harasimiuk
ff7400d295 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-28 15:52:29 +02:00
Daria Hinz
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
Dominik Dabek
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
Sebastian Luzynski
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