Use hardware limit, instead of the one used for device capabilities,
so applications can fully use the available memory in the device.
Change-Id: I910c610d7a3af254724a810c3c60b9da8d5d64a7
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
select device from context when device is not provided by user
return error when allocation fails
Related-To: NEO-4588
Change-Id: I2196ebf7c3e7908d1f8ca60c85ab2ef449997f9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
Add support for following queries:
- CL_PLATFORM_NUMERIC_VERSION
- CL_PLATFORM_EXTENSIONS_WITH_VERSION
Related-To: NEO-4368
Change-Id: I88a1878b786d424a718f1b3351a8af26cf69479f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Add queries for getting properties that were used when creating an object:
- CL_QUEUE_PROPERTIES_ARRAY
- CL_PIPE_PROPERTIES
- CL_MEM_PROPERTIES
- CL_SAMPLER_PROPERTIES
Related-To: NEO-4368
Change-Id: Ib761ee3dd338e9718d72ed4c9596b38843a9b802
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
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>
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>
Additionally unify implementation of API functions related to creating buffers
and images.
Related-To: NEO-4368
Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
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>
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>
clGetDeviceInfo, clGetProgramInfo, clCreateProgramWithIL and
clSetProgramSpecializationConstant return errors when Intermediate
Language Programs are not supported
Related-To: NEO-4368
Change-Id: I0bdc218c3cc57ea7ac698cd1db6c85687a8f9f4c
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
use testedClDevice instead of devices[testedRootDeviceIndex]
pass only tested device to build program
add member ApiFixture::pDevice
Related-To: NEO-4632
Change-Id: I7d8d1bd6c3336970a1ad0f0e48c254eb6f419200
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
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>
Error is returned when images are not supported.
Related-To: NEO-4368
Change-Id: I1e7098f7c450dbaefc546ab4cfdaebbb5376def4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
these tests are executed as part of igdrcl_mt_tests
Change-Id: I907bbe99b1283962db2b5ad5fae1e4c848683ff1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
check if device is associated with context
Related-To: NEO-3691
Change-Id: I7dfe12376bb2bb2c764b471315072a29068a0cb7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
device directory is renamed to cl_device.
Related-To: NEO-3938
Change-Id: I96794c82632d042da6814550597d805df7bb6436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
In clSetKernelArgSVMPointer and clSetKernelExecInfo functions
CL_INVALID_OPERATION error is returned if the associated device does not
support SVM.
Related-To: NEO-4368
Change-Id: I2a311d9307588ae992cee977b25df10841ebf668
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
create new variable defaultHwInfo as a std::unqiue_ptr<HardwareInfo>
replace platformDevices with defaultHwInfo in opencl/test/unit_test/api
Related-To: NEO-4499
Change-Id: I75b924e5b8a3a18f4ff9fdc3e598192569e102f7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>