Mateusz Hoppe
b5c8220ccc
test: refactor compiler interface tests
...
- prevent loading igc in tests with igc unavailable
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-12-20 11:29:24 +01:00
Chodor, Jaroslaw
5f908ce092
feature: adding support for custom compiler backends
...
This adds abbility to load different versions of the backend
compiler based on underlying device.
Related-To: NEO-12747
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2024-10-23 19:55:36 +02:00
Compute-Runtime-Validation
2098e64dc1
Revert "feature: adding support for custom compiler backends"
...
This reverts commit 8098bcc48d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-16 02:07:25 +02:00
Chodor, Jaroslaw
8098bcc48d
feature: adding support for custom compiler backends
...
This adds abbility to load different versions of the backend
compiler based on underlying device.
Related-To: NEO-12747
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2024-10-14 18:23:11 +02:00
Brandon Yates
7f0a0ae034
fix: Add new debug sip kernel type for heapless
...
Related-to: NEO-7979
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-09-11 14:32:15 +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
Mateusz Jablonski
cfd5f0c9b3
fix: use .spv for intermediate representation
...
Related-To: NEO-7785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-06-11 12:06:57 +02:00
Compute-Runtime-Validation
f4106ca44c
Revert "fix: use .spv for intermediate representation"
...
This reverts commit 6c9bca8cdc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-11 05:57:05 +02:00
Mateusz Jablonski
6c9bca8cdc
fix: use .spv for intermediate representation
...
Related-To: NEO-7785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-06-10 15:38:50 +02:00
Filip Hazubski
5ae2709e6e
fix: Remove allow-zebin and enable-zebin compile options
...
Zebin is enabled by default.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-10 14:08:40 +02:00
Dominik Dabek
239831f097
fix: return error for 0 size usm allocations
...
according to both level zero and opencl specs, usm allocations with
size=0 should return invalid/unsupported buffer size errors
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-12-22 17:26:39 +01:00
Mateusz Jablonski
a6458433dc
refactor: correct naming of enum class constants 9/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 10:36:25 +01:00
Chodor, Jaroslaw
7e795cd3c1
feature: Adding support for OCL C support queries to ocloc
...
Feature needed for automated OCL C compilation with ocloc as backend.
Added queries :
* CL_DEVICE_EXTENSIONS
* CL_DEVICE_EXTENSIONS_WITH_VERSION
* CL_DEVICE_PROFILE
* CL_DEVICE_OPENCL_C_ALL_VERSIONS
* CL_DEVICE_OPENCL_C_FEATURES
Sample command line:
ocloc query -device skl CL_DEVICE_OPENCL_C_FEATURES
Related-To: GSD-7420
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2023-12-18 15:19:16 +01:00
Mateusz Jablonski
beafea9b39
refactor: correct naming of enum class constants 2/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 13:13:35 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Mateusz Jablonski
330fb40107
fix: fix clang-tidy issues
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-31 16:32:06 +01:00
Mateusz Jablonski
698a3ed3de
fix: correct adjusting hw info for IGC, cover all cases
...
Related-To: NEO-8203
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-19 15:23:18 +02:00
Compute-Runtime-Validation
f8cae41e70
Revert "fix: correct adjusting hw info for IGC, cover all cases"
...
This reverts commit a75fcb6de0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-09-19 02:53:33 +02:00
Mateusz Jablonski
a75fcb6de0
fix: correct adjusting hw info for IGC, cover all cases
...
Related-To: NEO-8203
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-18 13:50:32 +02:00
Katarzyna Cencelewska
6e93dd8068
fix: add check for igc compatibility without checking icbe
...
Related-To: NEO-7904
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-05-29 10:52:21 +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
Cencelewska, Katarzyna
861ec524c6
fix: check icbe version only once when patchtoken
...
- set by default flag ZebinIgnoreIcbeVersion to true
- for zebin icbe version check is only inside flag
- only when use patchtoken then check icbe version is mandatory
Resolves: NEO-7904
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-04-28 09:26:02 +02:00
Jaroslaw Chodor
f7cf09d195
fix(ocl) fixing race condition in createFclTranslationCtx
...
In rare case of multiple threads trying to set fclBaseTranslationCtx,
there was a potential for use after free (double delete) on
std::unique_ptr::reset.
Resolves: NEO-7767
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2023-03-06 16:47:18 +01:00
Kamil Kopryk
cab4b956eb
refactor: rename compiler product helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-03 09:03:24 +01:00
Warchulski, Jaroslaw
c275008e51
Cleanup includes 32
...
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 20:41:37 +01:00
Warchulski, Jaroslaw
a2fe929f0c
Cleanup includes 18
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver_hw.h
shared/source/compiler_interface/compiler_interface.h
shared/source/direct_submission/direct_submission_hw.h
shared/source/helpers/dirty_state_helpers.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-02 13:28:29 +01:00
Dunajski, Bartosz
ad2d3d0289
Remove not used method
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-05 17:10:51 +02:00
Dunajski, Bartosz
670926c9b6
Remove redundant MockCompilerEnableGuard instances
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-21 10:07:18 +02:00
Mateusz Jablonski
6a46e8f0ca
Correct method names in device and module fixtures
...
correct naming in derived classes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-12 10:40:56 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
Artur Harasimiuk
a8e2bd3f98
hw_cmds.h usage cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-29 11:15:45 +02:00
Bartosz Dunajski
5510dc7daa
Add adjustHwInfoForIgc support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-13 14:31:53 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
Fabian Zwolinski
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-03-22 16:16:34 +01:00
Kamil Kopryk
073e15d75e
Change macro for ult
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-22 10:13:45 +01:00
Kamil Kopryk
038d1d54fa
Correct xe_hpc tests
...
Related-To: NEO-6631
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-03-09 09:21:30 +01:00
Neil R Spruit
fc11701422
LLVM IR removed from Compiler Link
...
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2022-03-02 17:25:36 +01:00
Dominik Dabek
300a971af3
Use igc interface to get max param size
...
IGC will be queried for max parameter size at the end of initializing
device caps.
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-28 16:10:05 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:09:50 +01:00
Mateusz Hoppe
d72a4491be
Add error handling in SipKernelBinary
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-29 13:25:15 +01:00
Mateusz Jablonski
c83828be6c
Move compiler interface tests to shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-25 12:35:06 +01:00
Artur Harasimiuk
7eb5b6aa42
mock dlopen in tests to block unwanted interactions
...
- explicitly specify files allowed to dlopen()
- use underscore to prefix fake library name that we want dlopen to
return nullptr
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-23 12:55:48 +01:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-10-21 18:17:14 +02:00
Mateusz Jablonski
664b33787d
Move appending compiler extensions to compiler parser
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-20 16:10:54 +02:00
Mateusz Hoppe
2fb8edb69f
Refactor SipKernel
...
- add debug bindless SipKernelType
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-10-19 11:45:24 +02:00
Kamil Kopryk
cfc673b77c
Add compilerHwInfoConfig
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6237
2021-10-06 21:27:34 +02:00
Artur Harasimiuk
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-20 16:46:50 +02:00
Kamil Kopryk
9293c9b676
Use isMidThreadPreemptionSupported helper in compiler interface
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-09 18:17:09 +02:00
Igor Venevtsev
43fdd90330
Add bindlessSip param to SIP queries
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-08-19 13:56:05 +02:00
Compute-Runtime-Validation
d81c637b96
Revert "Use igc interface to get max param size"
...
This reverts commit a04d206fdd .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-08-07 08:50:27 +02:00