Kamil Kopryk
68300a9605
Correct typo - createFunc
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-08 09:16:43 +01:00
Maciej Plewka
7f38c5e633
Revert "Return error code for unsuported image arg in gen12lp"
...
This reverts commit bbc31e6aac
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2022-11-02 12:57:16 +01:00
Maciej Plewka
bbc31e6aac
Return error code for unsuported image arg in gen12lp
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-10-24 16:54:10 +02:00
Katarzyna Cencelewska
2137ece808
Revert "Add missing check during buffer create"
...
This reverts commit 54faccb
.
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-10-24 09:22:52 +02:00
Dominik Dabek
abe4e0cb91
Fix case style
...
Test fixture classes will use correct camel case
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-10-19 09:41:45 +02:00
Dominik Dabek
d1a6054af9
enable create subBuffer from pooled buffer
...
Allow creating subBuffer from buffer from buffer pool allocator
by redirecting the call to the pool buffer and adjusting offset
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-10-19 09:33:10 +02:00
Dominik Dabek
e151bc6e2d
[OCL] Flag for allocating small buffers from pool
...
Improves performance in workloads that create small opencl buffers.
To enable, set env var ExperimentalSmallBufferPoolAllocator=1
Known issues (will be addressed in further commits):
- cannot create subBuffer from such buffer
- pool buffer allocation should be reused
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-10-14 12:18:42 +02:00
Compute-Runtime-Validation
7c6783c4a1
Revert "Return error when image arg does not support media block commands"
...
This reverts commit e56d18b69f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-10-12 03:58:33 +02:00
Maciej Plewka
e56d18b69f
Return error when image arg does not support media block commands
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-10-11 15:47:27 +02:00
Katarzyna Cencelewska
54faccb53e
Add missing check during buffer create
...
if isLockable is set do not lockResource, to avoid debug break
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-10-11 12:44:15 +02:00
Dominik Dabek
d8b7d56160
Copy host ptr on cpu if possible in clCreateBuffer
...
use cpu copy with locked pointer if possible
because this is faster than copy on gpu
limit to buffers of size at most 64kb
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-09-27 17:54:06 +02:00
Kamil Kopryk
ddaf6c10cd
Temporarily disable bufferL3CacheTest ult
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: IGC-5606
Test is validating 1st programmed surface state (it's expecting
buffer at 1st surface state), however
during patch tokens cleanup order of surface states and BTIs
will be changed.
2022-09-21 13:53:43 +02:00
Compute-Runtime-Validation
a5b4a13452
Revert "Return error when image arg does not support media block commands"
...
This reverts commit 8388e6cf4a
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-24 06:23:22 +02:00
Dunajski, Bartosz
595cfebaef
Refactor PIPE_CONTROL programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-23 13:55:25 +02:00
Maciej Plewka
8388e6cf4a
Return error when image arg does not support media block commands
...
Related-To: NEO-7168
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-08-23 12:07:29 +02:00
Warchulski, Jaroslaw
d795182eae
Move files from shared/test/unit_test to /common (preamble, utilities)
...
unit_test/preamble/preamble_fixture.h -> common/fixtures
unit_test/source_level_debugger -> common/
unit_test/utilities/base_object_utils.h -> common/utilities
unit_test/utilities/destructor_counted.h -> common/utilities
unit_test/utilities/logger_tests.h -> common/utilities
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-17 11:24:58 +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
Mateusz Jablonski
5ffeac44c5
Correct shared fixture methods name to meet clang-tidy requirements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 12:52:49 +02:00
Mateusz Jablonski
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-11 12:55:52 +02:00
Warchulski, Jaroslaw
aed890a219
Move files between shared/test/unit_test and /common (fixtures, helpers, mocks)
...
unit_test/fixtures/mock_aub_center_fixture.h -> common/fixtures
unit_test/helpers/raii_hw_helper.h -> common/helpers
unit_test/helpers/static_size3.h -> common/helpers
unit_test/helpers/ult_limits.h -> common/helpers
unit_test/memory_manager/mock_prefetch_manager.h -> common/memory_manager
common/mocks/mock_aub_stream.h -> unit_test/mocks
common/mocks/mock_csr_simulated_common_hw.h -> unit_test/mocks
common/mocks/mock_direct_submission_diagnostic_collector.h -> unit_test/mocks
common/mocks/mock_lrca_helper.h -> unit_test/mocks
common/mocks/mock_tbx_stream.h -> unit_test/mocks
common/mocks/linux/mock_os_context_linux.h -> unit_test/mocks/linux
common/mocks/windows/mock_wddm_direct_submission.h -> unit_test/mocks/windows
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-11 12:53:19 +02:00
Warchulski, Jaroslaw
a6c1d9578e
Move files between shared/test/common/helpers and shared/test/unit_test/helpersi
...
unit_test/helpers/cmd_buffer_validator.h -> common/helpers
unit_test/helpers/gtest_helpers.h -> common/helpers
common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers
common/helpers/state_base_address_tests.h -> unit_test/helpers
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-08-10 15:23:12 +02:00
Filip Hazubski
1f21d34fd3
Add experimental CL_MEM_DEVICE_ID_INTEL property for memory object creation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-08-05 14:54:30 +02:00
Dunajski, Bartosz
a3903c385e
Remove HW types from synchronization interface
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-25 13:59:26 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Lukasz Jobczyk
4ac6e09117
Do not reuse mem obj's allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-19 11:42:17 +02:00
Lukasz Jobczyk
5dd25d9e8c
Destroy multi graphics allocations synchronously
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-13 17:18:33 +02:00
Zbigniew Zdanowicz
e07f9f0698
Add kernel algorithm to check any argument is using system memory
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-12 13:08:49 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-04 18:20:07 +02:00
Kamil Kopryk
858059a3c0
Reduce unnecessary move constructors calls
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-27 12:49:53 +02:00
Kamil Kopryk
83cab52dc4
Reduce unnecessary copies of memory properties
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-24 16:49:26 +02:00
Filip Hazubski
b1a9fb886f
Remove useChannelRedForUnusedShaderChannels helper function
...
For CL_LUMINANCE images always force channel red.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-22 12:18:58 +02:00
Kamil Diedrich
97ea332a9f
Add support for ntHandles in OCL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-06-17 22:55:53 +02:00
Filip Hazubski
9c18c0247e
Correct surface format used for CL_LUMINANCE images
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-15 19:00:11 +02:00
Daniel Chabrowski
6f57073071
Move DrmMemoryManager tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-14 13:31:08 +02:00
Bartosz Dunajski
39c1c4d530
Remove virtual padding support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-08 12:42:44 +02:00
Maciej Plewka
5bee8ebd35
Revert "Allow cpu buffers copy on DG2 in 32bit"
...
This reverts commit 2055daf696
.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-08 11:26:00 +02:00
Daniel Chabrowski
c303c218be
Add missing pragma once in header files
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-07 16:19:11 +02:00
Krzysztof Gibala
77dde01503
Pass canonized gpuAddress in setCpuPtrAndGpuAddress
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-07 10:05:18 +02:00
Maciej Plewka
2055daf696
Allow cpu buffers copy on DG2 in 32bit
...
Resolves: NEO-6906, NEO-6000
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-06 16:32:35 +02:00
Baj, Tomasz
9529f21182
Fix missing handle in external memory
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-06-02 16:05:46 +02:00
Krzysztof Gibala
dc1fe7d59a
Change MemoryPool to enum class
...
Use enum class for MemoryPool in GraphicsAllocation
This change will ensure that GA is constructed in the proper way
- Rename namespace for isSystemMemoryPool method
- Add method getMemoryPoolString for logging actual pool which is in used
- Remove wrong pattern in GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-02 12:46:15 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Krzysztof Gibala
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-11 12:57:02 +02:00
Mateusz Jablonski
943ad0e1eb
style: skip redundant unique_ptr::get function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-10 13:22:40 +02:00
Krzysztof Gibala
1c366d1ec0
Refactor: Change canonize method accessing point
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-05-09 14:16:31 +02:00
Filip Hazubski
1088bfd837
Move shared ULT helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-06 09:20:27 +02:00
Baj, Tomasz
2a0c395db5
Initial implementation for creating buffer with ext memory for OpenCl
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-05-05 13:13:54 +02:00
Lukasz Jobczyk
73d3d83e60
Assign gpgpu engine at first enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-29 11:33:12 +02:00