ee23d7465f
Increase max parameter size to 2048
...
Change-Id: I2284445b18543d397bc5f33a010b37551b07d87a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4851
2020-07-20 13:20:26 +02:00
bbf50f8d4d
Add Device::getParentDevice function
...
Change-Id: I7b75bca67dceb74624c8dd8fd8c1542437fd9393
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-07-15 12:38:34 +02:00
af556aa65f
Enable cl_khr_il_program on all platforms
...
Change-Id: Ifb05a7768d3c203dd5f8e32dabcf5f8c5bcac3ad
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-08 17:57:21 +02:00
383025d1bb
Revert "Increase max parameter size"
...
This reverts commit fdf85aff7a
.
Change-Id: I3f35aa3491d42c24cc6f9aef7bed22c8d6c98376
2020-07-06 08:53:29 +02:00
fdf85aff7a
Increase max parameter size
...
Change-Id: Ia1fc949dfcc1ef2eb7dbea7e55cc2fa1483405a1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-07-02 17:24:31 +02:00
c5f3fe5987
Add ClDevice::isOcl21Conformant function
...
Do not report support of OpenCl C 2.0 if device is not OpenCL 2.1 conformant.
Related-To: NEO-4368
Change-Id: I076d539506760953cc28eed39ff5e7585630df51
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-25 10:52:59 +02:00
5dc3aed5b9
Add Debug flags to force Pipe and Device Enqueue support
...
New flags are ForcePipeSupport and ForceDeviceEnqueueSupport.
Flag DisableDeviceEnqueue has been removed.
Change-Id: I8794222ee26dc8001af29c45cb9f63381e18e5c4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-24 17:31:48 +02:00
f2c94a00a6
Correct LKF and EHL device info
...
Report supportsDeviceEnqueue equal false when device does not support
OCL 2.1 features.
Change-Id: I64e157a70d4a24c3c6256ad204d988dc4b033932
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-23 22:37:37 +02:00
0992c9342d
Update ILs with version query
...
Related-To: NEO-4368
Change-Id: Ic8d51b444dcf1c4bd46b059babbf9e2b7e8a4cec
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-23 17:08:05 +02:00
45f0bc56bc
Add options when building the program
...
Report "-ocl-version=300" when OCL 3.0 is enabled.
Report "-cl-feature=" with list of supported features.
Related-To: NEO-4368
Change-Id: I9aee559ed53541a0f0c1a2a004926d9d29a53d94
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-18 18:54:50 +02:00
fe13f0b522
Move IFP support flag to RuntimeCapabilityTable
...
Remove HwHelper::isIndependentForwardProgressSupported function.
Related-To: NEO-4368
Change-Id: I97061620ee6e96c4666bb8af5f009129ff0d9175
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-18 16:51:58 +02:00
e6fb967945
Update CL_DEVICE_OPENCL_C_FEATURES query
...
Update query to return proper values.
Related-To: NEO-4368
Change-Id: Ie307429b3bf3a55fadd412a76a1eeb44e010aec8
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-15 18:05:44 +02:00
851e894ab6
Update device caps initialization
...
Change-Id: I2488b2a07463efefaba03ff1d979cd7034f54136
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-06-14 19:18:39 +02:00
aa8e9fb634
Rename ocl DeviceFixture and add shared tests specific one
...
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-06-01 15:44:05 +02:00
4e2097e427
Add new clGetDeviceInfo queries
...
Add support for following queries:
- CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION
- CL_DEVICE_EXTENSIONS_WITH_VERSION
- CL_DEVICE_NUMERIC_VERSION
- CL_DEVICE_OPENCL_C_ALL_VERSIONS
Related-To: NEO-4368
Change-Id: I920671869fdb8815521173e2ec5ab3a4b905ec19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-28 11:23:44 +02:00
fb15623d1a
Add new clGetDeviceInfo queries
...
Add support for CL_DEVICE_OPENCL_C_FEATURES and
CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_MULTIPLE queries.
Related-To: NEO-4368
Change-Id: I93e7906c360e0b62465f69bd0c8e93f3375474b1
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-27 11:25:57 +02:00
3656ce868a
Add ult for isSimulation
...
Change-Id: Iabc28bb0716fdf3d87e7dfc34793b4d294282b9f
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4648
2020-05-25 15:39:47 +02:00
c64b7b4cb4
Add support for new device info queries
...
Related-To: NEO-4368
Change-Id: I4d8b6aa01435df1408a6051dca8dca29e84e95f6
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-25 11:57:12 +02:00
94bff3fe42
Correct sub device related device info queries
...
When querying CL_DEVICE_PARTITION_PROPERTIES and
CL_DEVICE_PARTITION_TYPE correct value size is returned.
Related-To: NEO-4368
Change-Id: Ic0d9949dbd9c83de40a065da7c0e420b27120914
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-22 10:08:57 +02:00
5eed521fe1
Update getInfo function
...
Allow return value size to be 0. Do not modify return value size in case
of error.
Related-To: NEO-4368
Change-Id: I201e8ee7c23fcdc2712f6b04bedc71bf4ab64f06
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-21 17:06:28 +02:00
4f5c80c916
Correct setting il version
...
Related-To: NEO-4368
Change-Id: I78111e0c28318f85657ab3cb545d4a5948f7b3d3
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-15 15:02:08 +02:00
75b2cac097
Correct programming device info
...
Related-To: NEO-4368
Change-Id: I7bebb8754d7e653806f682f1931840f9bdb651ee
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-14 16:03:22 +02:00
b817d3e95a
Enable overriding OpenCL version to 3.0
...
Related-To: NEO-4368
Change-Id: I6e2469861ca98649050b0f6251064ae6cce673be
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-12 17:32:00 +02:00
c3ea485752
Add ClDevice function to query OCL2.1 support
...
Change-Id: I4a1e7def6b26241592dba4ecd4a6a6cb3bb69835
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-08 13:37:19 +02:00
bdf4fc1464
Correct number of exposed compute units
...
Related-To: NEO-3691
Change-Id: I7b2f199725c4f1621759486c462d7bd38e43f5ca
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-05-08 11:33:35 +02:00
77791ba889
Create Level Zero command queue based on queue desc ordinal
...
And correctly return the number of engines available.
Related-to: NEO-4590
Change-Id: I637b3a94473e146003ea5e1c86d38e311406ce7e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-05-07 12:10:54 +02:00
97fbbf5be4
Add test to verify pipes support
...
Related-To: NEO-4368
Change-Id: Iabf179eb74d9b4c904cfc71c3281e2131c9b26d2
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-07 07:19:16 +02:00
8fd40b090d
Add supportsOcl21Features value to capability table
...
Related-To: NEO-4368
Change-Id: If176d3be7c47d9d9ab70beebe664f2d569997501
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-05 15:02:50 +02:00
85a5dcfe62
Add supportsPipes HW capability
...
supportsPipes set to false will disable support of Pipes on a device.
Related-To: NEO-4368
Change-Id: I2b03984d7618e85f482f8f8fa0fe3ef45ece7c19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-05 12:12:08 +02:00
22f9893495
Add debug flag to override device enqueue support
...
Enabling the new debug flag will disable support of device enqueue feature.
Related-To: NEO-4368
Change-Id: Icd17b44986bb682873364a2603633b7e44723a06
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-04 11:01:14 +02:00
4c616f8bef
Return 0 when Read-Write images are not supported
...
clGetDeviceInfo and clGetSupportedImageFormats return 0 when Read-Write
images are not supported
Related-To: NEO-4368
Change-Id: Iabeb3ca35fbdd1ab6eb8497dbcc94bb6876d8f42
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-04-22 19:58:14 +02:00
42810f4690
Return 0 when Program Scope Global Variables are not supported
...
clGetDeviceInfo and clGetProgramBuildInfo may return 0 when Program
Scope Global Variables are not supported
Related-To: NEO-4368
Change-Id: I2c319c53ffa2e02eeb370775023f5d73219cb39e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-04-21 18:40:10 +02:00
853d870d1c
Return CL_INVALID_OPERATION when creating an image
...
Error is returned when images are not supported.
Related-To: NEO-4368
Change-Id: I1e7098f7c450dbaefc546ab4cfdaebbb5376def4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-21 18:29:51 +02:00
f019d6ae8b
Interface to query number of samplers
...
Change-Id: I78fac48e916d7a71f385a4b28b1d56e10ede0beb
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-04-21 09:48:51 +02:00
2d5a822290
Reduce global memory size for sub devices
...
Related-To: NEO-4484
Change-Id: I6822ceedddde03353d6a2c6b2234f31d91fd9efe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-17 11:38:37 +02:00
86f5555f67
Fill OsInterface in Wddm::init
...
Change-Id: I0a4645040b06870007a20b46dbea562bf6024ad3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-09 14:49:24 +02:00
f2c11eb870
Update sub device internal ref counts
...
Change-Id: I82eea99bbb3d1edc32d09c0b703dee30b62f6b76
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-03 15:10:11 +02:00
52704236bd
Disable cl_khr_subgroups extension on gen12.
...
Resolves: NEO-3622
Change-Id: Idab55e5fb6a51ea0a08714f447bb9fce85f1dbcd
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-04-03 11:27:24 +02:00
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
385482e3fc
Move VariableBackup to shared
...
Change-Id: Ib7e316f8d497f1854d977b6420f8c978de58c9ab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-02 13:42:41 +02:00
b3553c36dc
Revert "Disable cl_khr_subgroups extension on gen12."
...
This reverts commit f99aaf4795
.
Change-Id: Iee3434ecd8b235719ff7e4b6bad9fb0cc2deaf59
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-03-26 09:58:58 +01:00
f99aaf4795
Disable cl_khr_subgroups extension on gen12.
...
Resolves: NEO-3622
Change-Id: Iaf94e262c8342c70c1b8c0f966020b3159a3cccf
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-03-25 17:48:35 +01:00
43668ce55b
Remove platformDevices from ULT
...
command_queue, command_stream, device, event, execution_environment
Related-To: NEO-4499
Change-Id: I83f0e749a6cd14c7b572e9af1502e288528c136b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:32:42 +01:00
47e3e7c8eb
Remove platformDevices [3/n]
...
Replace platformDevices[0]-> with defaultHwInfo->
Related-To: NEO-4499
Change-Id: I9a2607abe866512eef518ea6e34efb1d1d2069cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 17:19:57 +01:00
7a2310163e
Remove platformDevices [2/n]
...
replace **platformDevices with *defaultHwInfo
replace *platformDevices[0] with *defaultHwInfo
Related-To: NEO-4499
Change-Id: If973ceb44ede2e940969f9c666f85d9a939fbff8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 15:26:34 +01:00
fe851da327
Rename device directory
...
device directory is renamed to cl_device.
Related-To: NEO-3938
Change-Id: I96794c82632d042da6814550597d805df7bb6436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-24 14:35:21 +01:00
1eb3bd5c0a
Move platform() and constructPlatform() to MockPlatform
...
Related-To: NEO-4207
Change-Id: I7ed1c16f2eb357c3143d2a3f0b688f3cc747e9ff
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-03-23 23:49:39 +01:00
b38b67f9dc
Set correct 3D image limitations for TGLLP.
...
Resolves: NEO-3620
Change-Id: Ie49526992890e7721d2baa27c73f278313372210
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-03-23 17:10:11 +01:00
688c95ce3c
Rename getDevices functions
...
getDevices -> prepareDeviceEnvironments
Change-Id: Ie5bbc0e9f1fe9b1c34ba012249ffa33c4d2ebd05
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-23 12:53:42 +01:00
5be85293d6
Remove getSupportedClVersion function from Device
...
Related-To: NEO-3938
Change-Id: Ida4e0d8b3a758376ea433960c8a329c061b15666
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-23 09:22:17 +01:00