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
Brandon Yates
ab92499b56
feature: Add support for V3 state save header
...
Related-to: NEO-8396
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-06-27 18:46:03 +02:00
Mateusz Jablonski
3f45e40684
feature: add debug flag for forcing sip kernel class
...
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-06-14 17:34:33 +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
Mateusz Hoppe
cb7ac1ada0
feature: add debug key to generate sip header file
...
- header file can be used with LoadBinarySipFromFile
Related-To: GSD-8253
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-08 19:03:43 +01:00
Mateusz Hoppe
5e15543b14
test: improve unit tests - use virtual file system
...
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written
Related-To: NEO-7006
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-08 13:34:19 +01:00
Kamil Kopryk
59f661356c
feature: use heapless builtins in OCL if supported
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-02-08 15:49:58 +01:00
Brandon Yates
9636c2f0d5
fix: Avoid double free when freeing sip kernels
...
Reset sipKernels unique_ptr when freeing
Related-to: NEO-8402
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-25 08:45:45 +01:00
Brandon Yates
f56eeb0eb7
fix: Use debug SIP when debugging is enabled
...
Disable wMTP when debug is enabled
Related-to: NEO-10085
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-18 18:58:16 +01: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
5d2d3ed899
refactor: modify sip kernel helpers
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-01-09 17:09:10 +01:00
Mateusz Jablonski
bf60d77e10
refactor: correct naming of enum class constants n/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-20 10:56:37 +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
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
Mateusz Jablonski
432142c574
refactor: correct naming of enum class constants 4/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 08:08:51 +01:00
Mateusz Jablonski
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 16:23:37 +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
c3d3a4db1f
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 13:45:53 +01:00
Mateusz Jablonski
cdcd834712
refactor: correct naming of builtin types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 14:08:21 +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 Hoppe
5a4fa180d6
feature: control bindless compilation mode based on release
...
- check releaseHelper support when selecting bindless mode, if not
disabled, prefer bindless mode in L0 API
- bindless mode can be forced with DebugVariable: UseBindlessMode
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-10-19 10:11:11 +02:00
Mateusz Jablonski
6d259ac4b7
fix: add unrecoverable to avoid out of bound access
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-05 12:03:28 +02: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
Fabian Zwolinski
10675134e1
feature: Add process safety to Windows compiler cache
...
Related-To: NEO-8092
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
Co-authored-by: Diedrich, Kamil <kamil.diedrich@intel.com >
2023-09-06 15:34:15 +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 Hoppe
c43b827702
feature(debugger): allocate per-context SIP kernels with contextID
...
- optimize allocating SIP kernels for context - use cached binary
- parse SIP binary to find patch location
- patch SIP binary with Offline dump context id
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-09 16:22:20 +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
997b599168
fix(debugger): pass correct sipAllocation to makeResident
...
- sipAllocation for context must be resident in Offline mode
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-07-28 20:51:12 +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
Mateusz Hoppe
1c196b9f3d
refactor: change ApiSpecificConfig functions names
...
- better description of the meaning of functions
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-05-30 09:20:01 +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
Fabian Zwolinski
91019afa4b
Fix perContextSipKernels map in BuiltIns
...
Previously std::once_flag was assigned per map:
std::unordered_map<ContextId, std::unique_ptr<SipKernel>> which was
incorrect and caused the situation in which SipKernel is allocated only
on 1 context and was skipped for other contexts, so we ended up with
only one allocation regardless of the number of contexts.
This change assigns std::once_flag for each allocated SipKernel.
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-11 17:24:57 +02:00
Fabian Zwolinski
c0603e0854
Allocate SipKernel per ctx for Offline dbg mode
...
- Add debuggingEnabledMode getter in ExecutionEnvironment
- Add new overloaded function - BuiltIns::getSipKernel
- Add perContextSipKernels map to BuiltIns
- Add OsContext to PreemptionHelper::programStateSip arguments
- Add new overloaded function - SipKernel::getBindlessDebugSipKernel
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-30 16:40:41 +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
Yates, Brandon
7903617a44
fix(l0debug): Fix state save area size on some hw configs
...
regHeader.num_slices coming from system routine header is
incorrect on some hw configs. This fixes the value in neo
before using to size the state save area allocation
Related-to: LOCI-3937
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2023-03-02 18:35:32 +01:00
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:23:02 +01:00
Mateusz Jablonski
24c5352350
refactor: remove redundant including of compiler_cache.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-03 11:16:31 +01:00
Lukasz Jobczyk
5a613405c6
Make EmbeddedStorageRegistry ctor protected
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-02 16:28:54 +01:00
Lukasz Jobczyk
b2c26dde65
Check if storage registry exists
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-02 11:54:27 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00