Mateusz Jablonski
21f6bb8889
build: update opencl headers to v2024.10.24
...
https://github.com/intel/compute-runtime/issues/822
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-04-15 10:06:20 +02:00
Mateusz Jablonski
7dfc549ff0
fix: remove not needed test files
...
merge kernel files to simple_kernels.cl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-23 16:40:48 +02:00
Szymon Morek
6a11e8a077
fix: revert changes around zero-copy
...
Related-To: NEO-12018
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-19 12:29:18 +02:00
Szymon Morek
33ab962121
fix: adjust compression hint usage for ocl buffers
...
Related-To: NEO-11989
Also, use zero-copy on lnl
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-18 18:24:48 +02:00
Szymon Morek
7d25965a78
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-09 09:33:53 +02:00
Compute-Runtime-Validation
38872b7e1b
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 1cba900ad9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-04 08:20:18 +02:00
Compute-Runtime-Validation
b8246d806f
Revert "performance: change buffer type for new coherency model"
...
This reverts commit c979495265 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-03 02:11:19 +02:00
Szymon Morek
c979495265
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-02 12:49:41 +02:00
Lukasz Jobczyk
1cba900ad9
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-25 14:53:24 +02:00
Compute-Runtime-Validation
33edd5f10e
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit bd46361e26 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-19 03:48:33 +02:00
Lukasz Jobczyk
bd46361e26
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-18 14:03:27 +02:00
Compute-Runtime-Validation
166cdfedf5
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit f2d56744e3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-30 03:03:14 +02:00
Lukasz Jobczyk
f2d56744e3
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-29 12:13:44 +02:00
Compute-Runtime-Validation
ad2ff7972c
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 9dbf83c85a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-23 02:26:17 +02:00
Lukasz Jobczyk
9dbf83c85a
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-22 12:03:06 +02: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
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
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
Kacper Nowak
7be2ac84d3
Refactor(ocl): refactor OCL Kernel and MultiDeviceKernel class 1/n
...
- For static create() method for Kernel and MultiDeviceKernel force errcodeRet
parameter to be passed via reference (instead of a pointer)
- Move part of kernel's creation logic to initialize() method
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-04-11 11:43:26 +02:00
Warchulski, Jaroslaw
0556d543a3
Cleanup includes 56
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-16 14:42:44 +01:00
Warchulski, Jaroslaw
1ad4b81b28
Cleanup includes 30
...
Cleaned up files:
opencl/test/unit_test/fixtures/cl_device_fixture.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-13 08:22:14 +01:00
Kamil Kopryk
6993ed5c52
Reduce binaries sizes 2/n
...
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-08 16:14:38 +01:00
Dominik Dabek
67bfebb25e
Add additional create buffer arguments
...
Allow to: disable performance hints, make allocation lockable
Used in BufferPoolAllocator
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-21 16:19:53 +01:00
Krystian Chmielewski
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
Patryk Wrobel
c0342a0ab5
Optimize binaries' size by adjusting linkage of constants in headers
...
When header is included for the first time in translation unit,
then preprocessor simply copy-pastes its content. If we define a
constant in a header file and this constant has internal linkage
then each and every translation unit, which includes this header
will have its own copy of this constant.
C++17 introduces inline variables, which are meant to allow creation
of variables in header files, which do not cause multiple instances.
The inline variable has a single instance when:
- constexpr is used without static (constexpr implicitly implies inline)
- inline is used without static
- inline const is used without static (const does not imply internal linkage
when used with inline)
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-08-26 22:52:04 +02:00
Mateusz Jablonski
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 22:16:48 +02:00
Artur Harasimiuk
2cc2d05c37
remove unused include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-28 10:59:30 +02:00
Zbigniew Zdanowicz
0363749948
Disjoint local work size code from hw command generation
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-06 01:09:56 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Mateusz Jablonski
7098e9c5f2
Store single KernelInfo in Kernel
...
remove root device index from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-22 21:30:03 +01:00
Mateusz Jablonski
7a58e7bc3e
Pass Device to Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-19 17:44:54 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
Mateusz Jablonski
aa1fc85257
Store device specific kernel members per root device
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-10 17:57:39 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-08 09:14:44 +01:00
Mateusz Jablonski
0d943e95c4
Store KernelInfo per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-07 12:22:28 +01:00
Mateusz Jablonski
2ee1d569c5
Store KernelInfo per root device in Program
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-01 11:38:23 +01:00
Filip Hazubski
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-11-27 17:20:46 +01:00
Mateusz Jablonski
75d1ebb811
Use all devices when building program
...
remove Program::internalOptions
internal options are calculated separately in compile, link and build methods
Related-To: NEO-5001
Change-Id: I85ea2d64c72edb9b0e3f23244b59b9af20e2d357
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-02 19:37:55 +01:00
Mateusz Jablonski
4be05409a3
Handle program's callbacks on API level
...
Related-To: NEO-5001
Change-Id: Ic73601f874a972c9c3fe6cc1a04edd5d7915f16e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-29 11:28:02 +01:00
Mateusz Jablonski
8afdb2d981
Correct clCreateProgramWithBinary
...
store proper devices
validate input devices, lengths and binary
return correct binaries
Related-To: NEO-5001
Change-Id: I3822c291a4430e64afe54f1486b0014f16de3d64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-22 08:38:24 +02:00
Filip Hazubski
43dba9de4a
Move MockDevice to shared
...
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-03 08:23:06 +02:00
Mateusz Jablonski
a651625473
Correct validation during creating command queue
...
check if device is associated with context
Related-To: NEO-3691
Change-Id: I7dfe12376bb2bb2c764b471315072a29068a0cb7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 17:05:31 +01:00
Jablonski, Mateusz
a996ec6d9a
Fix unit test issues
...
remove dead store
initialize default values in class definition
Change-Id: I39abef12104a80df13ace0fb127c4ee24e00b184
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2020-03-16 09:34:55 +01:00
Filip Hazubski
5ac8d8e667
Add ClDeviceInfo
...
DeviceInfo contains a subset of ClDeviceInfo values.
Related-To: NEO-3938
Change-Id: Idae4fae4d25e1fb3106d8b95294fa70ebc6281df
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-11 16:45:27 +01:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-24 10:22:30 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 23:49:12 +01:00
Mateusz Jablonski
370424a1e0
Change core inlcudes
...
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 18:46:50 +01:00
kamdiedrich
87c5d2663b
Add absolute path to unit_tests
...
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00
kamdiedrich
e8852a68c4
Reorganization directory structure [2/n]
...
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00