Commit Graph

710 Commits

Author SHA1 Message Date
Lukasz Jobczyk 40390f7775 Add simple kernel tunning variant
Related-To: NEO-5327

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-01-13 11:09:22 +01:00
Slawomir Milczarek 068cb09c90 Add function to check for USM host allocations in SVM Allocs Manager
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-12 15:41:24 +01:00
Slawomir Milczarek d605234843 Add function to check if kernel has indirect stateless access to host memory
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-11 15:31:47 +01:00
Kamil Kopryk d1d81c1f48 Revert "Enable blitter support for read/write images OpenCL"
This reverts commit 933b483b961351cbdb0a50d52bd61c76ae03443b.
2021-01-11 14:21:11 +01:00
Mateusz Hoppe 6f69bd3560 Initialize SIP kernel in Device::create()
Related-To: NEO-4878

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-08 15:46:23 +01:00
Kamil Kopryk 38577bed6b Enable blitter support for read/write images OpenCL
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-01-08 13:32:36 +01:00
Maciej Dziuban ebbd042f1c Add root CSR to engine groups
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2021-01-08 12:35:01 +01:00
Slawomir Milczarek 55f3c8f134 Add resolve capability for compressed USM device allocations
Related-To: NEO-5107

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-08 12:16:26 +01:00
Krzysztof Gibala 3385500396 Use createHostUnifiedMemoryAllocation in clHostMemAllocINTEL
Unlock multi device setup for host allocation

Related-To: NEO-5422
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-01-05 17:16:59 +01:00
Krzysztof Gibala 6faf61e4f1 Enable memory transfer in enqueueFillImage
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-30 14:28:25 +01:00
Krzysztof Gibala 801affde66 Enable memory transfer in enqueueFillBuffer
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-30 14:19:57 +01:00
Lukasz Jobczyk 239f37da64 Introduce kernel tunning under debug flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-12-30 14:05:55 +01:00
Mateusz Jablonski 1b7d7afc07 Refactor USM properties
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties

Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-30 11:36:56 +01:00
Maciej Dziuban 60cb486086 OpenCL Queue Families extension 9/n
Disable capabilities for BCS

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-29 13:24:17 +01:00
Maciej Dziuban 510ba83e1e OpenCL Queue Families extension 8/n
Check capabilities for image to buffer and buffer to image copies

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-29 13:04:12 +01:00
Mateusz Jablonski 50841bfd0d Set arg local for all devices in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-29 12:40:53 +01:00
Krzysztof Gibala 2e346b58cd Enable memory transfer in enqueueMigrateMemObjects
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-29 12:03:22 +01:00
Mateusz Jablonski be7ae13911 Store SLM sizes per root device in Kernel
reduce usages of getDefaultKernelInfo

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-22 17:37:43 +01:00
Katarzyna Cencelewska ff3d4799ca Refactor cmake
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-12-22 00:41:43 +01:00
Slawomir Milczarek 6986d5de0b Add helper functions for memory compression to CSR
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-21 17:43:03 +01:00
Mateusz Hoppe 1dcbbfa21d Link device binary format files to shared lib
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-21 12:55:58 +01:00
Mateusz Jablonski c3083592ad Set arg immediate for all Kernel devices
convert tests to multi root device scenario

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-18 15:56:23 +01:00
Mateusz Hoppe 269477ec7e
Add Image2d_array to supported Gl sharing formats query (#1041)
* Add Image2d_array to supported Gl sharing formats query

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>

* Update opencl/test/unit_test/sharings/gl/windows/gl_sharing_tests.cpp

Co-authored-by: Mateusz Jablonski <mateusz.jablonski@intel.com>

Co-authored-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-17 16:32:38 +01:00
Mateusz Jablonski ee0523ae23 Correct device usage in kernel methods
pass device to substituteKernelHeap
use proper device when iterating over devices

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-17 14:46:46 +01:00
Mateusz Jablonski c3c92416db Enable memory transfer for mem obj kernel args
correct building programs with multiple root devices

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-17 11:14:33 +01:00
Mateusz Jablonski 55fb319517 Set arg buffer for all Kernel devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-16 17:27:52 +01:00
Krystian Chmielewski 4948c39d39 Remove executionEnvironment from KernelInfo
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
Piotr Fusik 96bc6b2e01 Revert "Revert "Enable cl_khr_subgroup_extensions""
This reverts commit bf3d57dd05.

Related-To: IGC-2680

Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2020-12-16 12:47:03 +01:00
Slawomir Milczarek 847bad4763 Add function to check if kernel has direct stateless access to host memory
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-16 10:06:17 +01:00
Jim Snow 37cd49330c Implement ZE_CACHE_CONFIG_FLAG_LARGE_DATA for zeKernelSetCacheConfig
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-12-16 07:00:13 +01:00
Pawel Wilma 9bd0c69913 Add ClearColor allocation support for blitter
Related-To: NEO-5175

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
Kamil Diedrich 17051459ea Add P010 and P016 to VAAPI
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-14 16:53:33 +01:00
Filip Hazubski e3d003bf92 Correct reporting support of read_write_images
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-14 16:36:22 +01:00
Maciej Dziuban 384e47f438 OpenCL Queue Families extension 7/n
Update enum values to official ones
Delete redundant CL_DEVICE_NUM_QUEUE_FAMILIES_INTEL
Rename CL_QUEUE_CAPABILITY_ALL_INTEL to CL_QUEUE_DEFAULT_CAPABILITIES_INTEL
Add capabilities for cross queue events and single queue events
Add capabilities for buffer to image and image to buffer transfers

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-14 16:19:11 +01:00
Krzysztof Gibala e789375cd5 Enable memory transfer in enqueueCopyBufferToImage
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-14 14:57:24 +01:00
Krzysztof Gibala 58633d726f Enable memory transfer in enqueueCopyImageToBuffer
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-14 12:23:44 +01:00
Mateusz Jablonski 798256ed61 Initialize Kernel for all devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-11 17:11:28 +01:00
Krzysztof Gibala 4f54ea5c87 Enable memory transfer between images
Unlock flow for multi device setup in:
- enqueueCopyImage

Update cleanAllGraphicsAllocations test

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-11 16:15:31 +01:00
Mateusz Jablonski c0fb03425b Optimize getDefaultKernelInfo method
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-11 13:45:13 +01:00
Mateusz Jablonski 55a75f7cfc Correct setting global work offset Z
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-11 12:36:59 +01:00
Filip Hazubski f51bbc54c5 Add clSetContextDestructorCallback to libigdrcl exports
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-11 11:28:35 +01:00
Filip Hazubski 070828cb2f Correct reporting __opencl_c_atomic_order_acq_rel
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-10 18:06:31 +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
Krzysztof Gibala 8d2cfd87ae Create graphicsAllocation for all devices in image
Unlock flow for multi device setup in:
- enqueueReadImage
- enqueueWriteImage

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-10 17:40:03 +01:00
Filip Hazubski e9b7222136 Correct CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT value
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-10 17:31:21 +01:00
Filip Hazubski f4c495cfff Enable zero size enqueues for all devices
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-09 19:12:00 +01:00
Mateusz Jablonski 350ec9f16b Pass root device index to get proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 19:11:43 +01:00
Slawomir Milczarek e7772143a2 Add fixture with a simple stateless copy kernel
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-09 17:03:05 +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
Filip Hazubski edbda8e8b2 Pass HwInfo to computeSlmValues function
Resolves: NEO-5215, NEO-5216

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 20:23:28 +01:00