Commit Graph

45 Commits

Author SHA1 Message Date
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 4647180c76 refactor: remove platform type string
this property is no longer needed as we compile kernels per product family

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-04 13:48:16 +01:00
Compute-Runtime-Validation 5a6d358166 Revert "refactor: remove platform type string"
This reverts commit 58b443ecf1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-04 11:08:51 +01:00
Mateusz Jablonski 58b443ecf1 refactor: remove platform type string
this property is no longer needed as we compile kernels per product family

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-04 09:26:29 +01:00
Warchulski, Jaroslaw 903e3c725a Stop using gen files in unit tests
Related-To: NEO-6613
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-10-25 11:04:57 +02:00
Warchulski, Jaroslaw 57da7ad307 Don't generate gen file by default
Related-To: NEO-6613
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-09-05 15:00:48 +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
Kacper Nowak 58a56a6223 CMake: Block bindless compilation for Gen8 + minor cleanup
- Do not compile test binaries in bindless mode for BDW (Gen8) - add
missing conditional.
- Remove unused CMake variables.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-07-14 23:44:39 +02:00
Grzegorz Choinski 24c57a3d68 infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-20 23:14:01 +02:00
Artur Harasimiuk 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
Grzegorz Choinski b41f088fe9 rename neo_test_kernels to kernels_bin
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-03-02 13:46:26 +01:00
Mateusz Hoppe 76cb65476a Enable bindles builtins
Resolves: NEO-5138

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-04 14:47:10 +01:00
Compute-Runtime-Validation 1634ac9ec3 Revert "Dont generate gen file by default"
This reverts commit 95943dee0f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-24 14:46:29 +01:00
Mateusz Borzyszkowski 95943dee0f Dont generate gen file by default
Ocloc can dump gen file when we add -gen_file flag to cmd.
Otherwise gen is not generated

Signed-off-by: Mateusz Borzyszkowski <mateusz.borzyszkowski@intel.com>
2022-01-17 18:14:50 +01:00
Kamil Kopryk 22588edf86 Add -force-stos-opt for stateful builtins
Related-To: NEO-6582
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-01-11 17:57:34 +01:00
Dominik Dabek 17beabc32d Add full src path to ocloc cmd
Makes it easier to copy and execute the command

Related-To: NEO-6002

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-21 13:01:58 +01:00
Mateusz Hoppe 8b233f7f45 Support for bindless mode in L0 - improvements
Related-To: NEO-6448

- add new IGC compilation flag when bindless mode used
- fix SBA programming of BindlessSurfaceStateSize -
always set maximum surface state count
- fix residency of global DSH heap on gen9 - gen12lp
in bindless mode
- add L0 aub test with bindless kernel - disabled
- partial fixes in OCL aub tests


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-12-02 16:30:58 +01:00
Bartosz Dunajski 29f74a1a98 Rename cmake GEN variables
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-24 14:42:57 +01:00
Mateusz Jablonski 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
Pawel Cieslak 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
Mateusz Jablonski 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
Pawel Cieslak 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
Pawel Cieslak 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
Pawel Cieslak c5dc389cb9 Fix typo BUIILINS -> BUILTINS
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-11-04 13:16:32 +01:00
Bartosz Dunajski 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
Artur Harasimiuk 5be234111c allow disable builtins compilation
Related-To: NEO-6011
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-07 18:02:54 +02:00
Szymon Morek ab52c70233 Change builtin kernels compilation process
.bin and .gen files for builtin kernels are generated per revision now

Resolves: NEO-5821

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-05-25 11:30:52 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Filip Hazubski ae484993e2 Update builtins generation
Use revision id when generating cpp files.
Related-To: NEO-5167

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-02-11 14:36:58 +01:00
Artur Harasimiuk 7716988dbb cmake cleanup: removing unused targets
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 19:00:11 +01:00
Filip Hazubski b0ed0dcc9b Generate spirv builtins without specifying a device
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-11 16:57:44 +01:00
Maciej Plewka ded70b803d Use common compile bindless flag
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-27 14:28:55 +01:00
Mateusz Jablonski 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
Mateusz Jablonski 920d873657 Improve VS solution tree
Move shared specific targets to neo shared folder
Move opencl specific targets to opencl runtime folder

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 13:53:51 +01:00
Maciej Plewka 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
Kacper Nowak 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
Pawel Cieslak 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
Cetnerowski, Adam 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
Kacper Nowak 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
Kacper Nowak 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
Katarzyna Cencelewska 92284c132e Disable some builtins when images are not supported
Change-Id: I8eb477ec84398858dbdd9a8812a094fc975b4238
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-04-23 11:30:52 +02:00
Mateusz Jablonski d64c46a932 Minor cleanup in cmake files
don't use runtime folder in opencl
correct folders in VS solution

Change-Id: I1da0bfdf417b4603835093831d4e5f671181b2cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-30 10:08:12 +02:00
Dongwon Kim af78548e80 Optionally able to provide external ocl offline compiler
Change-Id: I53a08c61ed38ccdf8c402afe04ee1d7b7ac98f8f
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2020-03-20 15:29:17 +01:00
chmielew 697848f3d1 ocloc as shared library, ocloc API
Change-Id: Ie866b9ad5ee6de8c8b10f83551e2a3cab9d64a02
2020-02-27 12:14:05 +01:00
Maciej Plewka 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