Commit Graph

231 Commits

Author SHA1 Message Date
720326fd6a Reorganize VS solution tree
Move scripts targets to neo scripts folder
Move spirv targets to shared builtins folder
Move compute_runtime_mockable_extra to ze_intel_gpu folder

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-23 19:06:20 +01:00
e08bd20289 Add queryItem flags to drm query ioctl
Signed-off-by: Bartosz Dunajski bartosz.dunajski@intel.com
2020-11-19 18:26:12 +01:00
823aadf855 Build ReleaseInternal with debug symbols on Linux
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-15 23:10:58 +01:00
682d2f9029 Initial WDDM_LINUX support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-13 12:51:25 +01:00
4dc3827b8e Prepare object lib for precompiled builtins in bindless mode
Releated-To: NEO-5138

Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-06 16:57:11 +02:00
5358f2cf9c Create a library with .spv kernels for L0 use
Change-Id: Ia319c5621e363f750159d58aaedd81e411d3babb
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-09-08 13:06:40 +02:00
0dbcac46bd includes refactor
Change-Id: I4dd85112b20b26fe1ecc95b8098cb160548db1d4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-28 14:53:14 +02:00
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
931bded0a2 refactor aub_stream usage
Related-To: NEO-2958
Change-Id: I1bff1e4d4f191413a2029f707b41ab3e36f734d5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-16 18:22:31 +02:00
d4b12c97d4 cmake: allow per-branch file include
Change-Id: Ic313754a6fb1690bff2bd277f06eaedbb9460f11
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-26 11:25:38 +02:00
7e56a8303a Add DG1 support to OpenCL and Level Zero (2/n)
Source location of Linux kernel DRM/i915 interface headers:
https://repositories.intel.com/graphics/kernel-api/index.html

Related-To: NEO-4744

Change-Id: I08a9ab651d8594e9a04d6a83dc48682d4fa53702
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-06-25 18:23:40 +02:00
1d5156380e cmake: refactor BRANCH_TYPE evaluation
Change-Id: Idc811e231dd993e9ff82c6080a7da69149b6da77
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-19 16:24:35 +02:00
ce710ac81a refactor hw_info_<X> processing in cmake
Change-Id: I4b5ac514fa1f7beca23676d45167752bcb053ea3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-18 09:32:18 +02:00
18e8e51990 Revert "Generate .cpp based on .spv builtins for Level Zero use"
This reverts commit 950c3633f7.

Change-Id: If69d3e92ceb5f64b52d86df182a9e8980a8cf847
2020-06-05 11:04:49 +02:00
950c3633f7 Generate .cpp based on .spv builtins for Level Zero use
Change-Id: I97f3f948db865ba0ec93ff06cffb7e1f7ef5896a
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-06-04 15:35:26 +02:00
c8f8b9ad86 always disable LevelZero in 32bit builds
Change-Id: Iaef44eec27e3ea10063767cb93945f5fc65abe6b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-03 23:12:51 +02:00
5121760d57 move initialization of BUILD_WITH_L0 to top level cmake
Change-Id: I8576c7e330a07c534e0aa642abee0fe49cf32a5d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-03 18:18:09 +02:00
7937da71f6 Fix build with USE_ASAN=ON
Signed-off-by: Mateusz Tabaka <tab.debugteam@gmail.com>

https://github.com/intel/compute-runtime/pull/314

Change-Id: I2b699df3f158b961a1a329fb81de8cd7115d06bc
2020-05-22 13:17:50 +02:00
6df11b5201 Enable OpenCL 3.0 enums by default
Related-To: NEO-4368

Change-Id: I3547d0adb47a870b33191b5c2356ad625d2a04c5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-12 13:35:41 +02:00
a8d653c549 Make tool for loading L0 builtins from binaries/spv
Change-Id: Ib7a50ecb85d740f13e6ed1b19e15bcd991b74867
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-05-05 10:03:47 +02:00
08af6cad48 IGC interface cleanup
Change-Id: I4dc1a35cea636e00187c5f793a1539c4fdfac5f1
2020-04-28 21:01:48 +02:00
d684b40d3e Add target for neo shared unit tests
Change-Id: I78e8985242025d456c0ad214a9293793857ec888
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-04-28 11:40:11 +02:00
b2210fa5bb Refactor MemorySynchronizationCommands class
Related-To: NEO-4338

Change-Id: Id0ae9c73293fd99f53fccc11a69ca14fa9a6d119
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-27 17:33:31 +02:00
a077fa5ece Add cmake option to allow disabling of mitigations
Change-Id: I86f78b59cb4812b5bb30a8b95ac7ec2cd1f87b51
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-04-23 13:30:42 +02:00
0332cb4529 Adding openCL blackbox test hello_world_opencl
Change-Id: I3b79bdbfb00e3a5fe07e7b8e90a2172e0cfabc6e
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-22 10:33:35 +02:00
39ece6481b Use legacy float rounding implementation on windows.
Resolves: NEO-4581

Change-Id: I050596d4386168df34c0d59bffacfdb3539e6623
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-04-09 17:53:59 +02:00
41e18a9616 fix compilation with clang 10
Add flag -Wno-deprecated-copy only for clang >= 10.0

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/289

Change-Id: I40cbc40a245f82a5dc9798851a276ead9e9ab74b
2020-04-02 12:25:03 +02:00
c6cd582f78 Enable Performance Counters for OCL and L0.
Change-Id: I1920b9d406c092fbc26fc6ca27766db297a1958b
2020-04-02 12:04:56 +02:00
24cee4611d Remove gl sharing related code from os_interface
Change-Id: Iece2fbdadefe338384f8961eef2720ff9b381e23
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-04-01 08:02:21 +02:00
a086310a4e cmake: fix GTEST_SHUFFLE setup
Change-Id: I1a6cc40445afafbcf6c13dce292a6a7cf6b1ec5f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-25 16:18:35 +01:00
b7410dbe37 adding message about RegKey reading in release
Change-Id: I14a4f3678e2f9cb650137f6666af8af4b83d08fa
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-21 15:57:22 +01:00
211375e898 cpack: packaging refactor
Change-Id: I47f9b4b83b4deb8bdaab62c7367c48908878c807
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-21 14:12:43 +01:00
2b269caca9 Add Ult target for level_zero
Change-Id: I5b18b6f495eda302ba96287d7bd6cc0b2bbe48ac
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-03-16 14:28:58 +01:00
7fd91182b6 Revert "Add Ult target for level_zero"
This reverts commit a748d7ccf5.

Change-Id: Ifc49e45a93d42f7ae355fbf2a2d993538a1f71fe
2020-03-13 15:44:47 +01:00
a748d7ccf5 Add Ult target for level_zero
Change-Id: I43cfd536fc14c3d632289a00e9d82c23176b32a3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-03-13 13:33:04 +01:00
c5454d6cce Rename neo_core to neo_shared
Change-Id: Ibf263a1c5a2445156859a647248918d3db48498b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-11 16:05:19 +01:00
7ada522fa2 Move CSR to shared [1/n]
Related-To: NEO-4344

Change-Id: I356b46bdfac7c943b95ee6dc41d3416bd880f9cb
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-03-10 12:41:34 +01:00
156fd41c5d cpack: align packaging to better handle multiple APIs
Change-Id: Ie9c4762babd44efe6511c5a716b35714514d3a36
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-07 13:11:30 +01:00
e28419fc91 moving ocloc to shared folder
Change-Id: Ic739cf747f7e6fae2c0cd57f0bc1aa0899d3aa53
2020-02-27 18:46:00 +01:00
697848f3d1 ocloc as shared library, ocloc API
Change-Id: Ie866b9ad5ee6de8c8b10f83551e2a3cab9d64a02
2020-02-27 12:14:05 +01:00
357fdc2e65 Move built ins to share directory
Change-Id: I740a349a0f15229cd356fffe996932029bf0f98b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-24 15:46:44 +01:00
ee5ebde417 Add absolute include paths
Change-Id: I5b8631603b0f0b2ed8eb1a61f7e7770b27867423
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 01:21:00 +01:00
9e97b42ee6 Reorganization directory structure [4/n]
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00
7df9945ebe Add absolute include paths
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
e072275ae6 Reorganization directory structure [3/n]
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00
370424a1e0 Change core inlcudes
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 18:46:50 +01:00
87c5d2663b Add absolute path to unit_tests
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00
e8852a68c4 Reorganization directory structure [2/n]
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00
d015d3633f Add absolute path to include
Change-Id: Ib0782b4ab8d9a26ec358ecfb57721f4fe8d51b06
2020-02-23 08:47:49 +01:00
fa8e720f9e Reorganization directory structure [1/n]
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
2020-02-22 21:56:09 +01:00