Commit Graph

82 Commits

Author SHA1 Message Date
Igor Venevtsev 42efb3d204 feature: add built-in copy kernels for 1D_BUFFER images
Resolves: NEO-14782, HSD-18042093957

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-05-01 07:51:32 +02:00
Igor Venevtsev ef52479ce4 feature: add FillImage1dBuffer built-in kernel
Resolves: NEO-13984, HSD-18041422852

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-04-10 14:04:13 +02:00
Mateusz Jablonski ed37a1e7ef build: remove not needed flag for builtins compilation
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-01 14:18:49 +02:00
Damian Tomczak 26c23460cb fix: set heapless mode for builtins compilation
Related-to: NEO-13973

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-24 12:01:58 +01:00
Damian Tomczak e6ff523a8e fix: heapless has the highest priority as builtin
Related-to: NEO-13973

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-20 08:10:44 +01:00
Kulkarni, Ashwin Kumar badbecb126 feature: adds support for 3 channel (2/N)
Allows user to create L0 images with 3 channel

Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-12-31 20:02:13 +01:00
Kulkarni, Ashwin Kumar 7986e68dfc feature: adds support for 3 channel
Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-12-18 07:04:14 +01:00
Damian Tomczak 0c8af82d1b fix: stateless suffix for stateless kernels
Resolves: NEO-12847

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-10-11 17:40:10 +02:00
Kamil Kopryk 50221dd572 feature: add heapless builtins with images compilation
Related-To: NEO-12743
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-10-10 19:21:37 +02:00
Kamil Kopryk 91f1f58a47 refactor: remove legacy code
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-10-08 15:24:26 +02:00
Kamil Kopryk 1378244415 refactor: improve readability
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-10-01 12:55:53 +02:00
Lukasz Jobczyk c1a5fb089b performance: Add copy buffer rect middle builtin
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-22 10:30:17 +02:00
Compute-Runtime-Validation d8ea5516b2 Revert "performance: Add copy buffer rect middle builtin"
This reverts commit bbb44c7a4d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-22 04:41:42 +02:00
Lukasz Jobczyk bbb44c7a4d performance: Add copy buffer rect middle builtin
Resolves: NEO-12132

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-08-21 14:41:44 +02:00
Alicja Lukaszewicz f45a229802 fix: add dependency on previous binary outputs
Related-To: NEO-11916

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2024-08-20 12:45:39 +02:00
Mateusz Jablonski 093fcfc7e1 build: ensure cpp builtins are copied for all releases
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-02 15:15:22 +02:00
Mateusz Hoppe f8994aacb6 fix: use bindful kernels in OCL tests
- compile stateless buitlins version with stateful bindful mode

Related-To: NEO-11704

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-06-12 12:02:54 +02:00
Kamil Kopryk 36dcfc0b42 feature: add stateless heapless builtins
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-16 11:11:31 +01:00
Kamil Kopryk cc1e3965ce refactor: Improve builtins compilation
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-15 14:56:52 +01:00
Compute-Runtime-Validation 37bfde9e4d Revert "refactor: Improve builtins compilation"
This reverts commit 21bc398340.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-01-13 05:10:20 +01:00
Kamil Kopryk 21bc398340 refactor: Improve builtins compilation
Related-To: NEO-7621

- simplify logic
- correct names
- remove inconsistent foreach
foreach(GENERATED_BUILTINS_IMAGES ${GENERATED_BUILTINS_IMAGES})

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-11 15:20:01 +01:00
Katarzyna Cencelewska ebc024f0f1 fix: add check to copy/fill buffer builtins that pointers aligned to 4 bytes
it is a compiler hint to provide information about alignment

Resolves: NEO-7973
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-09-25 17:38:26 +02:00
Mateusz Jablonski 43654bfc02 fix: add support for handling same hw ip release for different products
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-31 15:58:19 +02:00
Mateusz Hoppe 94b69aae80 fix: restore bindless compilation of builtins
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-24 14:17:29 +02:00
Kacper Nowak b908203001 fix: Compile built-ins per release
- Preserve releases on CMake level.
- Instead of generating builtins per platform, generate them per-release
(+ correct naming accordingly).
- Stop using revisions in builtin compilation logic path, as they are
already embedded in release (device ip).
- Remove platform names & revisions from names for generated files
(related to builtins).
- Remove unnecessary code, refactor ULT logic.

Related-To: NEO-7783
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-07-11 16:02:36 +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 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
Szymon Morek 403b49e987 Append additional fill kernel for left leftover
Related-To: NEO-7287

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-05 18:08:26 +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
Szymon Morek 25f4b06258 Use uint4 type instead of char in builtin kernel
Related-To: NEO-7287

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-01 14:58:56 +02:00
Compute-Runtime-Validation 84f19a1b93 Revert "Use uint4 type instead of char in builtin kernel"
This reverts commit a39bc7e7b3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-09-01 05:35:54 +02:00
Szymon Morek a39bc7e7b3 Use uint4 type instead of char in builtin kernel
Related-To: NEO-7287

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-08-31 16:04:22 +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
Kamil Kopryk 4d953fd125 Correct timestamps offset calculation
Related-To: NEO-6653
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 12:18:20 +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