Fabian Zwolinski
2022592f3d
Apply CamelCase for class and struct names 2/2
...
Additionally change .clang-tidy not to ignore struct names.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-25 13:10:23 +02:00
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-24 15:36:27 +02:00
Warchulski, Jaroslaw
d1b2311207
Cleanup includes 49
...
Cleaned up files:
opencl/source/command_queue/command_queue_hw.h
opencl/source/gtpin/gtpin_defs.h
opencl/source/mem_obj/mem_obj_helper.h
opencl/source/memory_manager/mem_obj_surface.h
opencl/source/sharings/unified/unified_sharing.h
opencl/test/unit_test/api/cl_enqueue_migrate_mem_objects_tests.inl
opencl/test/unit_test/aub_tests/fixtures/unified_memory_fixture.h
opencl/test/unit_test/command_queue/command_queue_fixture.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:26:49 +01: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
6d43e96dee
style: configure readability-identifier-naming.ClassCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-13 18:02:39 +02:00
Krzysztof Gibala
b75f5d4c8b
Add debug flag ForceExtendedBufferSize
...
Forces extended buffer size by adding pageSize specify by number when
debug flag is >=1 in:
- clCreateBuffer
- clCreateBufferWithProperties
- clCreateBufferWithPropertiesINTEL
Usage:
ForceExtendedBufferSize=2
size += (2 * pageSize)
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-19 18:52:10 +01:00
Artur Harasimiuk
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +02:00
Szymon Morek
3c15023871
Add AllowUnrestrictedSize debug flag
...
This debug flag allows to allocate memory with size greater than
CL_DEVICE_MAX_MEM_ALLOC_SIZE.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-08-05 15:35:26 +02:00
Szymon Morek
8b48b33a0c
Remove 4GB limit if shared allocations supported
...
Resolves: NEO-5984
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-06-24 13:28:59 +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
Krzysztof Gibala
4abe4a96b8
Add multiGraphicsAllocation to CSR
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-10 12:42:01 +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
Krzysztof Gibala
babbb1224f
Minor cleanup in buffer ULTs
...
Change-Id: I5004cbcb7b001a878de96449457bf43db1b23164
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-10-16 09:15:04 +02:00
Krzysztof Gibala
3ac197e400
Create graphicsAllocation for all devices in buffer
...
Related-To: NEO-4589
Change-Id: Ic9625eb3c9c359fd4cc5afe3519e7acf4efb0081
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-10-14 16:05:53 +02:00
Filip Hazubski
89be51cd94
Update CL_MEM_FORCE_HOST_MEMORY_INTEL flag
...
Rename CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL to
CL_MEM_FORCE_HOST_MEMORY_INTEL.
Rename MemoryFlags::forceSharedPhysicalMemory to MemoryFlags::forceHostMemory.
Change-Id: I48c0ae958ff55f2aef71cf99ed274d021a3c1f19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-05 20:33:35 +02:00
Filip Hazubski
155578568b
Update functions to create buffer and image objects
...
Functions clCreateBufferWithPropertiesINTEL and
clCreateImageWithPropertiesINTEL now accept a parameter `cl_mem_flags flags`.
Change-Id: I71823457397c00f93aed236afaa0041936c4161d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-05 11:08:49 +02:00
Filip Hazubski
99b0f04cc0
Add new API properties queries
...
Add queries for getting properties that were used when creating an object:
- CL_QUEUE_PROPERTIES_ARRAY
- CL_PIPE_PROPERTIES
- CL_MEM_PROPERTIES
- CL_SAMPLER_PROPERTIES
Related-To: NEO-4368
Change-Id: Ib761ee3dd338e9718d72ed4c9596b38843a9b802
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-27 18:50:58 +02:00
Filip Hazubski
0a6da52bd4
Add implementation of new OpenCL 3.0 API functions
...
Additionally unify implementation of API functions related to creating buffers
and images.
Related-To: NEO-4368
Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-15 12:09:08 +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
Filip Hazubski
64575cd589
Pass Context to parseMemoryProperties function
...
Change-Id: I74ff9fdb9292e281a1a6491387163db0de2ccea2
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-31 07:43:01 +02:00
Michal Mrozek
b16354ca77
Allow CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL as clCreateBuffer flag.
...
Change-Id: I44c17b29f82efe1d79a0713944e453a6ae21feed
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-03-30 12:28:53 +02:00
Filip Hazubski
56952113eb
Move MockClDevice to a separate file
...
Related-To: NEO-3938
Change-Id: I1bfeddb0ab68c025312bc3b8eff9571fef909780
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-18 20:16:46 +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