compute-runtime/opencl/source/mem_obj
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
..
definitions Refactor creation of buffer surface state 1/n 2021-10-21 13:11:31 +02:00
CMakeLists.txt Initial implementation for creating buffer with ext memory for OpenCl 2022-05-05 13:13:54 +02:00
buffer.cpp Cleanup includes 29 2023-01-13 07:53:03 +01:00
buffer.h Cleanup includes 22 2023-01-05 16:59:01 +01:00
buffer_base.inl Cleanup includes 16 2022-12-29 15:12:37 +01:00
buffer_factory_init.inl Copyright header update 2021-05-17 20:38:19 +02:00
buffer_linux.cpp Cleanup includes 22 2023-01-05 16:59:01 +01:00
buffer_windows.cpp Cleanup includes 22 2023-01-05 16:59:01 +01:00
image.cpp Cleanup includes 29 2023-01-13 07:53:03 +01:00
image.h Cleanup includes 24 2023-01-10 07:56:16 +01:00
image.inl Cleanup includes 24 2023-01-10 07:56:16 +01:00
image_factory_init.inl Simplify OCL image implementation for SKL and later 2021-12-09 11:26:20 +01:00
image_tgllp_and_later.inl Simplify OCL image implementation for SKL and later 2021-12-09 11:26:20 +01:00
map_operations_handler.cpp Add missing lock in MapOperationsHandler 2022-03-10 13:17:46 +01:00
map_operations_handler.h Reuse graphics allocation from mapped buffers in OpenCL 2021-10-27 15:53:10 +02:00
mem_obj.cpp fix(ocl): adjust pool buffer allocator 2023-01-13 14:20:29 +01:00
mem_obj.h fix(ocl): adjust pool buffer allocator 2023-01-13 14:20:29 +01:00
mem_obj_helper.cpp Cleanup includes 28 2023-01-11 17:47:33 +01:00
mem_obj_helper.h Rename compression flags and helpers 2021-12-03 18:09:02 +01:00
pipe.cpp Cleanup includes 29 2023-01-13 07:53:03 +01:00
pipe.h Copyright header update 2021-05-17 20:38:19 +02:00