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
cbce863dc2
refactor: Rename member variables to camelCase 3/n
...
Additionally enable clang-tidy check for member variables
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-28 16:01:14 +02:00
Maciej Plewka
464c67789f
fix: Deffer timestamp packet after failed submission
...
Related-To: NEO-7835
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-04-28 12:25:32 +02:00
Fabian Zwolinski
e351a90f81
refactor: Rename member variables to camelCase 2/n
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-27 20:39:22 +02:00
Fabian Zwolinski
c441e9e971
refactor: Rename member variables to camelCase
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-26 16:05:07 +02:00
Cencelewska, Katarzyna
ac8ac62c92
fix: add bcs engine type only if engine exist
...
- check bcs availability before insert to bcsEnginesTypes
Resolves: NEO-7886
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-04-20 09:02:38 +02:00
Compute-Runtime-Validation
ca51e557a2
Revert "Remove default support for DCD"
...
This reverts commit a3e923e359 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-04-20 04:41:33 +02:00
Fabian Zwolinski
a3e923e359
Remove default support for DCD
...
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-19 19:18:48 +02:00
Igor Venevtsev
3e5101424d
Optimize small buffers allocator
...
- Do not wait for GPU completion on pool exhaust if allocs are in use,
allocate new pool instead
- Free small buffer address range if allocs are not in use and
buffer pool is exhausted
Resolves: NEO-7769, NEO-7836
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-04-19 11:56:50 +02:00
Igor Venevtsev
6aadf63725
Revert "Optimize small buffers allocator"
...
This reverts commit f57ff2913c .
Resolves: HSD-15013057572
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-24 12:17:54 +01:00
Kacper Nowak
bac3c93e45
refactor(opencl/gtpin): Extend OCL/GTPin interface for stateless kernels
...
Remove blocking condition disallowing GTPin instrumentation using OCL interface
for stateless kernels (where SSH size == 0). It is required in order to
reintroduce support for GTPin on platforms supporting stateless
addressing model only.
- Always allow for adding surface state for GTPin use, even if kernel
SSH size == 0,
- Correct addSurfaceState function logic
- Remove and/or modify GTPin unit tests based on previous approach
- Wrap logic for pushing BT and SSH into separate function
- Minor code refactor; remove not needed test function
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-03-23 13:14:16 +01:00
Mateusz Jablonski
4919c7c9fb
feature: add experimental support for cl-gl sharing on Linux
...
based on 'clgl-fork' branch from https://github.com/kallaballa/compute-runtime
EGL headers taken from https://github.com/KhronosGroup/EGL-Registry
revision: 57b4876de0f33677ece92dd9de0ef105ce69139d
Related-To: NEO-3599
Fixes https://github.com/intel/compute-runtime/issues/166
Co-authored-by: Jacek Danecki <jacek.danecki@intel.com >
Co-authored-by: Amir Hassan <amir@viel-zu.org >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-20 12:49:52 +01:00
Compute-Runtime-Validation
e118e35290
Revert "feature: add experimental support for cl-gl sharing on Linux"
...
This reverts commit 9b35ba5e50 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-19 07:54:11 +01:00
Mateusz Jablonski
9b35ba5e50
feature: add experimental support for cl-gl sharing on Linux
...
based on 'clgl-fork' branch from https://github.com/kallaballa/compute-runtime
EGL headers taken from https://github.com/KhronosGroup/EGL-Registry
revision: 57b4876de0f33677ece92dd9de0ef105ce69139d
Related-To: NEO-3599
Fixes https://github.com/intel/compute-runtime/issues/166
Co-authored-by: Jacek Danecki <jacek.danecki@intel.com >
Co-authored-by: Amir Hassan <amir@viel-zu.org >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 08:58:29 +01:00
Igor Venevtsev
f57ff2913c
Optimize small buffers allocator
...
- Do not wait for GPU completion on pool exhaust if allocs are in use,
allocate new pool instead
- Reuse existing pool if allocs are not in use
Related-To: NEO-7769
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-15 19:12:30 +01:00
Lukasz Jobczyk
320deec53b
Wait for barrier on every OCL split blitter
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-15 09:34:41 +01:00
Dunajski, Bartosz
15485fb1c8
Register CSR clients for OCL CommandQueues
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-13 18:29:14 +01:00
Dunajski, Bartosz
97a35debde
RelaxedOrdering dispatch for OCL 1/n
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-13 17:37:12 +01:00
Kacper Nowak
efba242570
fix(zebin): Extend oneDNN WA for whole application context
...
When a dummy kernel "kernel void_(){}" is passed in sources - specific
for workloads with ngen backend - enforce fallback to CTNI for the whole
application context (mark the context as non-zebinary).
Related-To: NEO-7772
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-03-07 14:21:57 +01:00
Dunajski, Bartosz
72ada8b41f
Add missing pollForCompletion on clEnqueueVerifyMemoryINTEL
...
Related-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-03 10:55:33 +01:00
Mateusz Hoppe
0b7817eecf
feature: Experimental OCL debugging
...
- notify module create/destroy
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-02 15:59:15 +01:00
Warchulski, Jaroslaw
b485c025d0
Cleanup includes 57
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-17 11:19:59 +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
Compute-Runtime-Validation
0e1ba33e07
Revert "fix(ocl): fix resolve dependencies by pipecontrol"
...
This reverts commit d13dd79312 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-09 15:47:13 +01:00
Dominik Dabek
d13dd79312
fix(ocl): fix resolve dependencies by pipecontrol
...
Keep semaphore programming for events on bcs
Related-To: NEO-7321
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-02-08 16:58:18 +01:00
Dunajski, Bartosz
d42ec1ad8a
Unify multi regular context selection
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-7618
2023-01-27 14:04:04 +01:00
Kamil Kopryk
0499a72451
refactor: rename cl_gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-24 11:16:03 +01:00
Maciej Plewka
fa4830036a
feature(ocl) use tags to synchronize multi root device events
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-01-23 10:28:01 +01:00
Warchulski, Jaroslaw
76faad3398
Cleanup includes 36
...
Cleaned up files:
shared/source/helpers/blit_commands_helper.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-20 10:10:40 +01:00
Kamil Kopryk
eb63f36108
Move GfxCoreHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 09:28:27 +01:00
Warchulski, Jaroslaw
16d5a323c7
Cleanup includes 34
...
Cleaned up files:
opencl/source/command_queue/cl_local_work_size.h
opencl/test/unit_test/mocks/mock_buffer.h
shared/source/program/kernel_info.cpp
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-17 14:42:04 +01:00
Maciej Plewka
1421796541
Revert "feature(ocl) use tags to synchronize multi root device events"
...
This reverts commit 353a7510b2bd2d774d0b7ee82ee48eae7f5dc1d3.
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2023-01-17 11:29:58 +01:00
Warchulski, Jaroslaw
8de3898abc
Cleanup includes 31
...
Cleaned up files:
shared/source/command_stream/experimental_command_buffer.h
shared/source/helpers/get_info.h
shared/source/helpers/local_id_gen.h
shared/source/memory_manager/gfx_partition.h
shared/source/memory_manager/host_ptr_manager.h
shared/source/memory_manager/prefetch_manager.h
shared/test/common/mocks/mock_memory_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 11:45:55 +01:00
Kacper Nowak
d2a2656caa
fix(zebin): Enforce fallback to CTNI on TGL/ICL for nGEN dummy kernel
...
For TGL and ICL platforms - if on clCreateProgramWithSource()
call we detect a nGen dummy kernel usage - enforce fallback to the
patchtokens format (only for this kernel).
- corrected naming
- minor ULTs refactor (less dependencies).
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-01-13 14:36:56 +01:00
Dominik Dabek
0c3cde2141
fix(ocl): adjust pool buffer allocator
...
Increase chunk alignment from 256 to 512.
Restores performance in some workloads with pool enabled but lowers maximum
possible number of buffers in pool from 256 to 128.
MemObj size will keep the value passed to clCreateBuffer ie. will not be
aligned up by chunk alignment.
CL_MEM_SIZE will now return same value as with pool disabled.
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-01-13 14:20:29 +01:00
Maciej Plewka
16bc84e27d
feature(ocl) use tags to synchronize multi root device events
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-01-13 08:09:32 +01:00
Kamil Diedrich
ad579be87c
Use common definition of UUID for Intel GPUs
...
This patch will eventaully allow matching UUIDs queried
from NEO with UUIDs queried from other GPU APIs implementations
for Intel GPUs
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2023-01-11 16:31:05 +01:00
Warchulski, Jaroslaw
3d59dce80c
Cleanup includes 27
...
Cleaned up files:
opencl/source/command_queue/command_queue.h
shared/source/built_ins/registry/built_ins_registry.h
shared/source/kernel/kernel_descriptor.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-11 16:10:28 +01:00
Warchulski, Jaroslaw
77b88f19a1
Cleanup includes 23
...
Cleaned up files:
opencl/source/execution_environment/cl_execution_environment.h
opencl/source/helpers/cl_validators.h
opencl/test/unit_test/mocks/mock_cl_device.h
opencl/test/unit_test/mocks/mock_context.h
shared/source/helpers/cache_policy.h
shared/source/image/image_surface_state.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-09 12:30:30 +01:00
Warchulski, Jaroslaw
5eef40fedd
Cleanup includes 22
...
Cleaned up files:
opencl/source/built_ins/builtins_dispatch_builder.h
opencl/source/context/context.h
opencl/source/gtpin/gtpin_notify.h
opencl/source/kernel/kernel.h
opencl/source/kernel/multi_device_kernel.h
opencl/source/mem_obj/buffer.h
opencl/source/mem_obj/mem_obj.h
shared/source/built_ins/registry/built_ins_registry.h
shared/source/page_fault_manager/cpu_page_fault_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-05 16:59:01 +01:00
Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-05 12:58:38 +01:00
Warchulski, Jaroslaw
6fb68dd84b
Separation of MemoryAllocation from os_agnostic_memory_manager.h
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-04 15:09:36 +01:00
Warchulski, Jaroslaw
b7ee3486d9
Cleanup includes 21
...
Cleaned up files:
opencl/source/kernel/kernel.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-04 10:40:26 +01:00
Warchulski, Jaroslaw
d793f37dd8
Cleanup includes 20
...
Cleaned up files:
opencl/source/cl_device/cl_device.h
opencl/source/helpers/properties_helper.h
opencl/source/program/program.h
shared/source/device_binary_format/debug_zebin.h
shared/source/device_binary_format/elf/zebin_elf.h
shared/source/program/program_info.h
shared/source/utilities/heap_allocator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 14:42:08 +01:00
Milczarek, Slawomir
1e8169ca3d
Add bcs support for cross-device migrations of multi-graphics allocations
...
This commit adds a support for cross-device migration to bcs enqueue path
exercised for CL enqueue rea/write, map, unmap calls, controlled with
the regkey AllocateBuffersInLocalMemoryForMultiRootDeviceContexts.
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-01-03 14:09:07 +01:00
Warchulski, Jaroslaw
0eac749fcc
Cleanup includes 19
...
Cleaned up files:
opencl/source/api/cl_types.h
shared/source/compiler_interface/external_functions.h
shared/source/compiler_interface/linker.h
shared/source/device_binary_format/elf/elf.h
shared/source/helpers/preamble.h
shared/source/memory_manager/definitions/storage_info.h
shared/source/memory_manager/memory_manager.h
shared/source/memory_manager/os_agnostic_memory_manager.h
shared/source/program/program_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 11:02:05 +01:00
Compute-Runtime-Validation
8d18a0cd12
Revert "feat(ocl): Generate minimal set of args info"
...
This reverts commit ea6c91eccc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-12-29 07:07:32 +01:00
Kacper Nowak
ea6c91eccc
feat(ocl): Generate minimal set of args info
...
- Provide minimalistic arg info metada when provided native binary is missing
kernels_misc_info section.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-12-28 20:24:44 +01:00
Compute-Runtime-Validation
876de37b92
Revert "Feature(OCL) Use tag nodes for root device synchronization"
...
This reverts commit 547d1c37b3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-12-24 19:14:33 +01:00
Maciej Plewka
547d1c37b3
Feature(OCL) Use tag nodes for root device synchronization
...
With this commit events created on multi root device contexts will
synchronize using signaled TagNodes instead of using taskCounts.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-7105
2022-12-23 15:48:54 +01:00