Mateusz Jablonski
aadab65978
feature: add support for CL_PLATFORM_UNLOADABLE_KHR query
...
Change corresponds to https://github.com/KhronosGroup/OpenCL-ICD-Loader/pull/250
Related-To: GSD-11701
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-11-07 08:44:09 +01:00
Dominik Dabek
00ec4c82b2
fix: blocking usm reuse cleanup
...
Use blocking free policy when cleaning up usm reuse
Also clean usm reuse first when destroying platform,
since there is no point in reusing on closing application.
Related-To: HSD-18043613805, HSD-13013909538
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-10-10 22:32:08 +02:00
Mateusz Jablonski
6c0c229c82
refactor: remove not needed flags to force OCL version support
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-03 16:57:08 +02:00
Fabian Zwoliński
a1c5fa1a13
feature: add pooling of USM global/constant surface
...
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-09-23 18:24:18 +02:00
Szymon Morek
797807bea8
fix: reduce USM pool size for platforms prior Xe2
...
Related-To: NEO-16192
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-09-23 15:06:54 +02:00
Compute-Runtime-Validation
a0d1a88f96
Revert "performance: move host/device memUsmAllocPool init to platform/contex...
...
This reverts commit f0f869ed42 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-20 07:34:13 +02:00
Aleksander Czerwionka
f0f869ed42
performance: move host/device memUsmAllocPool init to platform/context init
...
Related-To: NEO-16059
Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com >
2025-09-18 16:41:47 +02:00
Szymon Morek
6b37243bfa
performance: increase USM pool sizes
...
Related-To: NEO-16045
Also, unify pool config parameters and
reduce pool size for ULTs.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-09-16 12:10:25 +02:00
Compute-Runtime-Validation
e2d12e1742
Revert "feature: add pooling of USM global/constant surface"
...
This reverts commit 68698c9a74 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-14 16:26:29 +02:00
Fabian Zwoliński
68698c9a74
feature: add pooling of USM global/constant surface
...
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-09-12 16:05:52 +02:00
Aleksander Czerwionka
e52235b8ff
feature: move host mem alloc pool from context to platform
...
Related-To: NEO-13247
Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com >
2025-09-01 15:33:35 +02:00
Jakub Nowacki
9526392e95
fix: clear clDevices on devicesCleanup
...
Related-To: NEO-15630
Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com >
2025-08-11 16:06:34 +02:00
Aleksander Czerwionka
6bc9ea3ddb
feature: move svmAllocsManager and staggingBufferManager to platform
...
Related-To: NEO-13247
Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com >
2025-08-08 14:01:44 +02:00
Oskar Hubert Weber
9055ae8e54
fix: skip teardown clean up when terminating process on Windows
...
Per https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain ,
it's not safe to clean up resources in DllMain when
fdwReason == DLL_PROCESS_DETACH and lpvReserved != NULL (the process is
terminating), e.g. can result in a hang in some cases.
Related-To: NEO-14121
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2025-07-22 15:13:11 +02:00
Grochowski, Stanislaw
e652679b95
fix: correct pollForCompletion in aub on program termination
...
Related-To: NEO-14867
Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com >
2025-07-17 12:59:00 +02:00
Grochowski, Stanislaw
8180e95e0f
fix: ensure pollForCompletion in aub on program termination
...
Related-To: NEO-14867
Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com >
2025-07-10 08:32:00 +02:00
Mateusz Jablonski
6ec92ac082
refactor: move groupDevices logic to shared code
...
update platforms used in unit test
Related-To: NEO-14062
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-02-13 21:42:43 +01:00
Filip Hazubski
2f6eaf149a
fix: Update SIP kernel initialization logic
...
Initialize SIP kernel when shared device is being initialized
instead of api-specific device.
Initialize debugger when shared device is being initialized
instead of during platform or driver initialization.
Add missing makeResident calls for SIP kernel in heapless paths.
Related-To: HSD-18038645398, HSD-18038819112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-20 18:30:46 +02:00
Mateusz Jablonski
739d181026
refactor: correct naming of enum class constants 6/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-13 14:48:52 +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
140532f8b6
fix: fix issues with clang-tidy on Windows
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-16 12:30:11 +01:00
Venevtsev, Igor
50b2262339
fix: stop direct submission blocking on platform destruction
...
Resolves: GSD-6341
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com >
2023-10-06 17:03:38 +02:00
Filip Hazubski
d7db6ac467
feature: Add preferredPlatformName field to RuntimeCapabilityTable
...
For all of the devices, preferredPlatformName is initialized with
nullptr by default and platform name will be initialized to driver's default
platform name, at the moment this is "Intel(R) OpenCL Graphics".
When Platform is initialized and preferredPlatformName is not nullptr then
Platform name will be set to the value stored in preferredPlatformName.
Add ENABLE_LEGACY_PLATFORM_NAME AIL enum related to added functionality.
Move PlatformInfo to NEO namespace.
Related-To: HSD-22018809561
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-09-12 11:07:14 +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
Kacper Nowak
1afaf37f78
refactor: Unify GTPin initialization logic between APIs
...
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
context creation and if yes,
make a call to OpenGTPinOCL function.
Handle potential errors gracefully without exiting.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-08-09 17:15:24 +02:00
Compute-Runtime-Validation
65df34bbc7
Revert "refactor: Unify GTPin initialization logic between APIs"
...
This reverts commit 68a5108e05 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-07 04:31:52 +02:00
Kacper Nowak
68a5108e05
refactor: Unify GTPin initialization logic between APIs
...
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
clGetPlatformIDs API call, and if yes,
make a call to OpenGTPinOCL function.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-08-05 18:22:08 +02:00
Mateusz Hoppe
776917159d
feature: cl_khr_external_memory - return platform info
...
- return supported memory handle types when querying
CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR
Related-To: NEO-6757
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-07-18 14:21:20 +02:00
Igor Venevtsev
c2c622d695
fix: stop direct submission on platform destruction
...
Related-To: NEO-8072
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-06-28 08:41:31 +02:00
Fabian Zwolinski
b909b03b02
Rename OpenCL Platform Name
...
- Rename "Intel(R) OpenCL HD Graphics" -> "Intel(R) OpenCL Graphics"
- Add and implement new DebugVariable - OverridePlatformName - for
overriding Platform Name in OpenCL
Related-To: NEO-7826
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-17 11:09:32 +02: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
Warchulski, Jaroslaw
0dc5fb3e51
Cleanup includes 24
...
Cleaned up files:
opencl/source/mem_obj/image.h
opencl/source/platform/platform.h
shared/source/command_stream/preemption.h
shared/source/helpers/mt_helpers.h
shared/source/memory_manager/unified_memory_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-10 07:56:16 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Kamil Diedrich
380e2dcc35
[WSL2] Avoid gdi calls while process exit
...
Related-To: NEO-7380
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-21 12:37:07 +02:00
Mateusz Hoppe
5a3a39a281
Experimental support for OCL debugging with L0
...
- initial changes
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-12 12:57:15 +02:00
Mateusz Jablonski
21ef249961
Move ocl extensions logic to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-04 17:38:15 +01:00
Bartosz Dunajski
1a042af9c6
GmmClientContext cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-29 12:01:07 +02:00
Zbigniew Zdanowicz
902cce597a
Add new functionality to load SIP from file
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-23 13:48:26 +02:00
Mateusz Hoppe
6f69bd3560
Initialize SIP kernel in Device::create()
...
Related-To: NEO-4878
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-01-08 15:46:23 +01:00
Mateusz Jablonski
48c084ca32
Create platformsImpl when needed
...
Change-Id: Ie89356761fc39910c765066d40cd363c93002692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-07 16:36:40 +02:00
Mateusz Jablonski
40d487fa90
Add global destructor of platforms
...
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-01 17:26:17 +02:00
Filip Hazubski
851e894ab6
Update device caps initialization
...
Change-Id: I2488b2a07463efefaba03ff1d979cd7034f54136
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-14 19:18:39 +02:00
Filip Hazubski
4da9269d1b
Correct Platform::initialize function
...
Initialize values only once.
Change-Id: I5261f3b8e6a088878fb7f240418bafb93612da1c
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-02 13:01:36 +02:00
Filip Hazubski
ca459b8d59
Add new clGetPlatformInfo queries
...
Add support for following queries:
- CL_PLATFORM_NUMERIC_VERSION
- CL_PLATFORM_EXTENSIONS_WITH_VERSION
Related-To: NEO-4368
Change-Id: I88a1878b786d424a718f1b3351a8af26cf69479f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-29 12:45:05 +02:00
Filip Hazubski
5eed521fe1
Update getInfo function
...
Allow return value size to be 0. Do not modify return value size in case
of error.
Related-To: NEO-4368
Change-Id: I201e8ee7c23fcdc2712f6b04bedc71bf4ab64f06
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-21 17:06:28 +02:00
Filip Hazubski
e1755a7079
Update setting platform version
...
Related-To: NEO-4368
Change-Id: Id328d69809cd4333973bd6c6e2ee9dd9c0946af9
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-20 14:58:03 +02:00
Filip Hazubski
c3ea485752
Add ClDevice function to query OCL2.1 support
...
Change-Id: I4a1e7def6b26241592dba4ecd4a6a6cb3bb69835
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-08 13:37:19 +02:00
Sebastian Luzynski
fd195f0967
LoopAtPlatformInitialize renamed to LoopAtDriverInit and triggers earlier
...
Related-To: NEO-4526
Change-Id: I13067badfbaf9f46c993b08126fb35e53d68f6d3
2020-04-28 13:47:04 +02:00
Andrzej Swierczynski
3b4276c8f7
Move AsyncEventsHandler to ClExecutionEnvironment
...
Related-To: NEO-4207
Change-Id: If859f995aae57ac03de13d57cc5a38c97303bbb4
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-03-31 15:42:07 +02:00
Andrzej Swierczynski
b36fb6c0bf
Remove peekGmmHelper() and peekGmmClientContext() from platform
...
Related-To: NEO-4207
Change-Id: Id4caec45b24ae5c7790f283b0cbf78c17e60d74e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-03-26 14:44:57 +01:00