Commit Graph

1241 Commits

Author SHA1 Message Date
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
05ab806126 cmake: refactor unit tests targets dependencies
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 14:57:42 +01:00
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
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
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
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
0747cb80f5 Sip programming changes
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 15:05:30 +01:00
778a4acca3 Initialize debugger structs
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-11 12:40:59 +01:00
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
830bcd6987 Scratch using bindless heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-11 09:38:44 +01:00
d9eb19e6c4 ocloc - adding support for includes
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 22:59:15 +01:00
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
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
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
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
993ea27e25 Adding platform info for FCL
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 16:31:46 +01:00
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
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
91a938a449 ULT renaming: Memory Manager tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-09 17:49:59 +01:00
d746be0c4e ULT renaming: Memory Object tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-09 17:20:20 +01:00
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
b6a20f9b23 Move mock_gmm and mock_gdi to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 13:45:57 +01:00
988e8667ce ULT renaming: Linux DRM tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-08 17:44:05 +01:00
4fb4d99a06 Remove aub test
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-08 16:59:40 +01:00
ddca863c48 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-08 11:19:06 +01:00
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
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
0609a0915e Enable ULT
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 19:09:05 +01:00
9a9bd6a805 Fix issue with creating image from buffer in local memory.
Resolves: NEO-4605

Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-12-07 16:39:29 +01:00
3770048532 Update parsing of -internal_options in ocloc
Add internal options provided by the user after
the generated internal options.

Related-To: NEO-5152

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 15:15:16 +01:00
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
eb97c48844 Fix simulated CSR
- add localMemory to getAddressSpace()
- redirect writeMemoryWithAubManager to aubManager

Related-To: NEO-5357

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-07 12:10:43 +01:00
e26eb3ebdd ULT renaming: Helpers tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-07 12:08:09 +01:00
d6907858b6 ULT renaming: Kernel tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-07 11:46:11 +01:00
2997834d84 Cleanup code
- remove unneeded extern declarations

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-07 11:20:33 +01:00
ded49c5914 remove DISABLED_ tests
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-04 12:17:42 +01:00
2859023642 Add -ocl-version option when compiling without device
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 21:02:18 +01:00
c83087ea72 Correct generating extensions list for compiler in Program
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 18:58:19 +01:00
ce4b6dbcd8 Update builtins hash
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 16:41:45 +01:00
23d4967f79 Correct generating extensions list for compiler
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 15:15:49 +01:00
79d4af28de Switch to c++17
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-03 15:15:32 +01:00
ff027615c9 Refactor ULT, dont create parameterized tests for single config tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-03 13:51:57 +01:00
cb14f0969d Reenable unit test
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-03 11:02:50 +01:00
8198a739c8 Refactor Sip Kernel usage
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-03 10:43:53 +01:00
176154b9e6 ULT renaming: GMM Helper tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-02 20:12:37 +01:00
c19f4fd1d0 Re-enable decanonize gpu address on releaseGpuRange() call drm ULT
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-12-02 09:14:37 +01:00
343fd602fa Add method to submit kernel on single subdevice
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
94be510c18 Add initial placement hints for USM in OpenCL
Related-To: NEO-5059
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 18:30:26 +01:00
e0ec9875c3 Remove disabled test
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-01 18:08:44 +01:00
b5c899cd18 Fix disabled unit test
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 17:52:34 +01:00