Krzysztof Gibala
babbb1224f
Minor cleanup in buffer ULTs
...
Change-Id: I5004cbcb7b001a878de96449457bf43db1b23164
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-10-16 09:15:04 +02:00
Ratajewski, Andrzej
bf3d57dd05
Revert "Enable cl_khr_subgroup_extensions"
...
This reverts commit 5826d3e105 .
Change-Id: I3ab7d3ef01edc2d7a15a79bd01a438e863219026
2020-10-16 08:01:45 +02:00
Krzysztof Gibala
3ac197e400
Create graphicsAllocation for all devices in buffer
...
Related-To: NEO-4589
Change-Id: Ic9625eb3c9c359fd4cc5afe3519e7acf4efb0081
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-10-14 16:05:53 +02:00
Filip Hazubski
da524fa03d
Correct Intermediate Language related implementation
...
Change-Id: Ib2bdd21c255245767df787797bb5cfe05482e489
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-09 16:00:56 +02:00
Filip Hazubski
7d0f23bfc9
Enable OpenCL 3.0 by default on all devices
...
Change-Id: Ic5e46177c957896c499b7aa6727af48105b664ac
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-07 16:44:10 +02:00
Igor Venevtsev
bd9695a19a
Get rid of UNRECOVERABLE_IF in MemoryManager constructor
...
Related-To: NEO-5053
Change-Id: Ibf955c760e61e34c4d38cbb5071ef712bae1c518
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2020-10-07 11:18:56 +02:00
Adam Cetnerowski
e9359b7c2c
Remove OCL2.1 restriction on clCreateProgramWithILKHR
...
Change-Id: Ie0951465e226fb13b49d4f01f9a81b9c562a13e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-10-06 21:13:00 +02:00
Piotr Fusik
5826d3e105
Enable cl_khr_subgroup_extensions
...
Related-To: IGC-2680
Change-Id: I296e43dd9ebf037e8da6d6a8b1d6e6967f8fe674
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2020-10-06 09:04:51 +02:00
Filip Hazubski
89be51cd94
Update CL_MEM_FORCE_HOST_MEMORY_INTEL flag
...
Rename CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL to
CL_MEM_FORCE_HOST_MEMORY_INTEL.
Rename MemoryFlags::forceSharedPhysicalMemory to MemoryFlags::forceHostMemory.
Change-Id: I48c0ae958ff55f2aef71cf99ed274d021a3c1f19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-05 20:33:35 +02:00
Filip Hazubski
155578568b
Update functions to create buffer and image objects
...
Functions clCreateBufferWithPropertiesINTEL and
clCreateImageWithPropertiesINTEL now accept a parameter `cl_mem_flags flags`.
Change-Id: I71823457397c00f93aed236afaa0041936c4161d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-05 11:08:49 +02:00
Adam Cetnerowski
269bb21e2f
ULT renaming: ICD Get Platform tests
...
Related-To: NEO-2236
Change-Id: I481f90cfd78ee76c2d414105399c3520744c013c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-10-01 16:42:56 +02:00
Adam Cetnerowski
a67544f479
ULT renaming: Get Program Info tests
...
Related-To: NEO-2236
Change-Id: I0c90a3003e750c6d51211bbc0a25a29bf6a29909
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-09-30 12:38:17 +02:00
Krzysztof Gibala
214342f405
Create map for deviceBitfields per rootDeviceIndex
...
Pass rootDeviceIndex to getDeviceBitfieldForAllocation
Related-To: NEO-4589
Change-Id: Ib325a8bf822351ba36b225d94d4173fd725e8766
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-09-29 12:18:49 +02:00
Bartosz Dunajski
28acc2c8f6
Remove lowPriorityEngineType member
...
Change-Id: I39908addf1c3a12f7807479132d0a6d5a4398d7b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-28 17:02:56 +02:00
Lukasz Jobczyk
1185205673
Enable batched direct submission
...
Related-To: NEO-5112
Change-Id: I191dee8e8466232a1350e0b13974c3417366743f
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-23 15:27:57 +02:00
Bartosz Dunajski
5b31b31734
Remove low priority and internal engine index variables
...
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-21 16:44:14 +02:00
Filip Hazubski
d1e0768cf5
Remove unused code
...
Change-Id: I342f58dc72a6ed5a9b9d9d30d5c43a109da5ff5b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-21 11:42:54 +02:00
Mateusz Jablonski
b52aec07dd
Move symbols and linkerInput from Program to BuildInfo
...
these members should be kept per root device
Related-To: NEO-5001
Change-Id: Ie5e06deed234706cc41943d3c5e932c7d877127b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-11 08:01:25 +02:00
Krzysztof Gibala
fee51350f1
Add function to get maxRootDeviceIndex & set of rootDeviceIndices
...
Add to context:
- getRootDeviceIndices
- getMaxRootDeviceIndex
Related-To: NEO-4589
Change-Id: I68a2162eea3d566c2ee99714d45253dfa35ec0cd
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-09-09 10:54:50 +02:00
Filip Hazubski
d889c599b2
Correct callback API functions
...
Add implementation to clSetProgramReleaseCallback and
clSetContextDestructorCallback functions.
Resolves: NEO-4962, NEO-5051
Change-Id: Iad6fffc663665a3cf16b96aa90065140cf8c5477
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-08 14:08:50 +02:00
Lukasz Jobczyk
9158dec82d
Do not override immediate dispatch while direct submission enabled
...
Related-To: NEO-5007
Change-Id: I32330a275f78e825c847b0e380ce426f0c7412f5
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-03 11:53:38 +02:00
Mateusz Jablonski
40d487fa90
Add global destructor of platforms
...
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-01 17:26:17 +02:00
Filip Hazubski
cfe1d76781
Correct CL_QUEUE_PROPERTIES_ARRAY query
...
Add support of this query for Device Queues.
Change-Id: Ia4ad110af22e509efe8b9ae4c27bcccd4271f4a5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-28 14:36:38 +02:00
Mateusz Jablonski
9394f5755e
Create structure for per root device build info in program
...
define build log per root device
Related-To: NEO-5001
Change-Id: Id507485e7f2bdd4e0d96948450da49a9f67dd2a8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-08-26 13:16:30 +02:00
Filip Hazubski
fef4d05832
Add CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED query
...
Related-To: NEO-4990
Change-Id: I9d26b60ed824ca26d637519785b9c14f0677e4db
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-21 11:51:32 +02:00
Filip Hazubski
49f450e094
Correct enqueueSVMMigrateMem function
...
Change-Id: Ice49ac7434038ec3667084414fa23a4367242e9c
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-21 11:34:52 +02:00
Krzysztof Gibala
44d1ec2e23
Change L1 cache setup
...
Related-To: NEO-4942
Change-Id: I9f8c3a5aa4d3dee57595ac287df64d8c9b41a9cb
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-08-20 10:20:40 +02:00
Pawel Cieslak
fb821f21f5
Cmake format script
...
Related-To: NEO-1157
Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-08-19 16:36:30 +02:00
Adam Cetnerowski
881d7328bc
ULT renaming: Enqueue Marker tests
...
Related-To: NEO-2236
Change-Id: I8f4158adbfe3597ad9fe75b77d00f890f1370340
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-08-12 11:46:16 +02:00
Adam Cetnerowski
e99cb7d236
ULT renaming: Create Sampler tests
...
Related-To: NEO-2236
Change-Id: Ic7e5b99d383beef80d293b2aab8228c9d43aec85
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-08-11 12:59:26 +02:00
Filip Hazubski
c5866944f4
Add clSetContextDestructorCallback API function
...
Change-Id: If0f06ffcbd6236ef7ffbc78347e67897177eb121
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-10 19:17:00 +02:00
Filip Hazubski
fe5bda3ed1
Correct API functions to unload compiler
...
Correct return value of clUnloadCompiler and clUnloadPlatformCompiler
API calls.
Change-Id: I352b271e9f97be88cf29c4a097aa2e664ba3206a
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-10 17:18:26 +02:00
Mateusz Jablonski
418db08517
Verify HDC handle when returning devices for GL sharing
...
Resolves: NEO-4952
Change-Id: I298bb26aacd2cc5ad7206f7fff2b2235098fb8bf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-08-07 13:45:30 +02:00
Artur Harasimiuk
fa6b181120
do not use absolute path when including hw_cmds.h
...
Change-Id: I59a825f25d6572f7dfb0c80211a6e3652e2827c5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-04 13:27:29 +02:00
Jaroslaw Chodor
d65cdab453
Zebin - yaml parser
...
Change-Id: If8b5bcd68b7d39bfd3fb53b619f5de973b059bff
2020-07-30 07:26:44 +02:00
Adam Cetnerowski
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
Anton V Gorshkov
e3ccf19b47
Eliminate the usage of non-trivially destructible global objects in API tracing
...
Change-Id: I13606191053c9d927cfe5fa7c58fc4d63bcd5e6d
2020-07-08 12:18:31 +02:00
Mateusz Jablonski
93c1e1b976
Add MultiGraphicsAllocation to USM
...
Related-To: NEO-4672
Change-Id: I53ea4bea73ae6d52840146f63bc561bb90f9fe62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-02 09:39:21 +02:00
Piotr Maciejewski
1b272852f9
Separate Metrics Library query handle for each cl_event
...
Change-Id: I9a61eb351acb49f84d857290bf99f72ead5d919c
2020-06-25 12:19:28 +02:00
Sebastian Luzynski
fa3cb35fde
Add check if device support Images.
...
Related-To: NEO-4675
Change-Id: I0c2b6e04536e45e70748983521e8469dd3dad697
2020-06-24 23:38:03 +02:00
Filip Hazubski
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
Jaime Arteaga
abdb707a39
Check for hardware limit for runtime device allocations
...
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 >
2020-06-17 18:56:09 -07:00
Maciej Dziuban
fb43726cdc
Enabling forcing fine grained SVM creation
...
Change-Id: I0eb0af5e72f5502b788c6c8be39728bc6948c0bb
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-06-08 14:10:37 +02:00
Mateusz Jablonski
7f5aa241b2
Correct creating shared unified memory
...
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 >
2020-06-05 11:27:49 +02:00
Konstanty Misiak
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
Filip Hazubski
ca459b8d59
Add new clGetPlatformInfo queries
...
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 >
2020-05-29 12:45:05 +02:00
chmielew
3e8f05d702
remove kernelHeader from HeapInfo
...
Change-Id: Ic2d441df15a7f75b5f3ef41d484969148e59715f
2020-05-28 03:59:49 -07:00
Filip Hazubski
99b0f04cc0
Add new API properties queries
...
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 >
2020-05-27 18:50:58 +02:00
Filip Hazubski
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
Filip Hazubski
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