a977ee6c15
Remove MockProgram::setDevice
...
Related-To: NEO-5001
Change-Id: I42ed743311de085f365d321ad30c983f48db8bf8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-22 12:27:07 +02:00
8afdb2d981
Correct clCreateProgramWithBinary
...
store proper devices
validate input devices, lengths and binary
return correct binaries
Related-To: NEO-5001
Change-Id: I3822c291a4430e64afe54f1486b0014f16de3d64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-22 08:38:24 +02:00
1926ef8319
is_simt_thread token support
...
Change-Id: I8cee6ff26229f0f492ba0d1e5e61d6e46e0c2486
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-21 14:14:43 +02:00
4122554b71
Fix max root device index in Program's ctor
...
Related-To: NEO-5001
Change-Id: If3b86a51df478222f47a30c9254466dea0710ec4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-20 17:10:14 +02:00
9f08a60a20
KernelInfo Refactor
...
Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name
Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
2020-10-20 13:18:09 +02:00
f7dcafc295
Pass ClDeviceVector to Program's ctor
...
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-19 18:47:11 +02:00
2169d8f3aa
Add ULT for PrintfHandler::prepareDispatch
...
Verify blitter usage.
Change-Id: I4ceb9c4cd4affea93751eb518aed5efaa0a6d829
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-09 17:07:45 +02:00
2ebee73e4b
Unify bindless debug flags
...
Change-Id: I6a9313722eed01b935707e93cad532adddcc78af
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-09 14:49:50 +02:00
fb0651521d
Linker: Fix incremental patching for local memory allocations
...
Change-Id: Ib85e4a2abc8a62477003853aa0c35f8107444f4e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-09 09:13:42 +02:00
fc090f74c6
Store device binary per root device in program
...
Related-To: NEO-5001
Change-Id: I9834f6894625031c734c68ebf210e6042c470ec7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-08 19:05:04 +02:00
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
63fe52b6e0
Reuse old build options only for native binary
...
Change-Id: I484616a22c85f8a321e51002b7f9d0c990ee7b5a
2020-10-05 21:06:34 +02:00
60430d79ee
Update OpenCL C features reporting to the compiler
...
Pass features also with -cl-ext option.
Change-Id: I1a1c68b655a2108be51c7d57be771591ee0b14e7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-05 10:27:30 +02:00
746cf7fd33
Reuse old build options if new ones are NULL
...
Change-Id: I435e7ec8554b0429dcf4f6f8d9d4fd80e70b68c6
2020-10-04 16:54:02 +02:00
6c2fb0b25e
ULT renaming: Printf tests
...
Related-To: NEO-2236
Change-Id: If6e641723ce01c041562de1741f78590b08312db
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-09-22 13:00:29 +02:00
d1e0768cf5
Remove unused code
...
Change-Id: I342f58dc72a6ed5a9b9d9d30d5c43a109da5ff5b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-21 11:42:54 +02:00
1f240862ce
Move surface allocations from Program to BuildInfo
...
Related-To: NEO-5001
Change-Id: Icf011698fc166285d049b052d59c709c7419e105
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-16 12:01:46 +02:00
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
edea0d1145
Cleanup debugger tests
...
Change-Id: I7d72fa8d27f98ea4c17c11cb98780f5d9c911ecb
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-08 15:09:38 +02:00
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
145fd87f5d
Revert "Add adjustPlatformCoreFamilyForIgc helper"
...
This reverts commit 8fffdcc111
.
Change-Id: I0415b004ef0a1465bc2658cadc66f21a99302eca
2020-09-08 07:36:26 +02:00
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
508104d4fa
Remove temporary WAs
...
Change-Id: Ic8e37b5768628f61ae88228288f6618fd5015794
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-08-26 14:47:04 +02:00
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
856a2f7be7
Add debugData to packedBinary
...
Change-Id: Id6e3fe6b6b2da383f042d66c9638ccec6989ca71
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-08-25 13:24:14 +02:00
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
8fffdcc111
Add adjustPlatformCoreFamilyForIgc helper
...
Change-Id: Ic372e76c1024ca9e585bef15fab29827d33122f3
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4865
2020-08-13 17:31:13 +02:00
321f649854
Zebin support
...
Change-Id: I1e426ee2c5174fd0a4c51c1644cda467c2b88881
2020-08-07 11:48:41 +02:00
d65cdab453
Zebin - yaml parser
...
Change-Id: If8b5bcd68b7d39bfd3fb53b619f5de973b059bff
2020-07-30 07:26:44 +02:00
393adc5211
ULT renaming: Non Uniform Workgroup tests
...
Related-To: NEO-2236
Change-Id: I6f314c17400e9b099da52e04aecf19f3df303a82
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-23 10:20:16 +02:00
526e9eb962
ULT renaming: Program Data tests
...
Related-To: NEO-2236
Change-Id: Ie5afdf307be013196b11d7cbbd7afca84eb1c185
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-22 12:28:09 +02:00
ee404451f4
ULT renaming: Process Spir Binary tests
...
Related-To: NEO-2236
Change-Id: Idcd394a74fc3c49948f8212adcc0e0542e4d578c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-20 11:16:58 +02:00
4ed3c73e57
ULT renaming: Process Elf Binary tests
...
Related-To: NEO-2236
Change-Id: I36b617078550cd5e91164f9acf7da2ac4eaa1a2b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-16 16:06:22 +02:00
fb7082f0f8
ULT renaming: Kernel Info tests
...
Related-To: NEO-2236
Change-Id: I19dea5d06d1847cf9d9816112b517cb6974f2cd5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-15 15:37:36 +02:00
c22aa75c2f
ULT renaming: Kernel Data tests
...
Related-To: NEO-2236
Change-Id: I2075d261ccf58f224954c0e2d9c3fdf9e6e28ca1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-15 10:52:00 +02:00
38740c7b75
Use blit when patching data segments with Linker
...
Change-Id: I79e92add07f5bd7a68d4b03cf8069ed9c2cb907f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-07-14 17:47:14 +02:00
031ee61b5a
ULT renaming: Unhandled Token tests
...
Related-To: NEO-2236
Change-Id: I3aaed094be93e683ae5e361949c05ab623cbbfc6
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-14 14:06:28 +02:00
77dbdf17d1
ULT renaming: Block Kernel Manager tests
...
Related-To: NEO-2236
Change-Id: Ice2aa7daa4ef3c0b91b3788f570ff8b41eee1f0b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-13 17:36:38 +02:00
913cfcf0a1
Pass device to KernelInfo::createKernalAllocation
...
Related-To: NEO-4722
Change-Id: Ica85fe3e1ff43a158337ff7049fbc8486f8f39fc
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-07-08 11:53:08 +02:00
6dd07bd3bc
Use correct Heap32 index for local memory allocations
...
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-01 17:31:43 +02:00
c6239968a5
Fix typos:
...
preffered -> preferred
deffered -> deferred
Change-Id: I1b87861590c273d7fcda5bf0c5a772bf36e1bc74
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-25 19:17:41 +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
22076663e4
Pass options to compiler during program linking
...
"-cl-intel-gtpin-rera" and
"-cl-intel-greater-than-4GB-buffer-required"
passed to compiler as internal options
Resolves: NEO-4723
Change-Id: I059027880e9a98aa063f4cd64e84e28311663f46
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-06-10 12:52:02 +02:00
87596d2387
Use root device index when accessing graphics allocation from buffer
...
Related-To: NEO-4672
Change-Id: I31ed0aa567276b606f4b09733ca2a8d678f9786f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-09 13:40:29 +02:00
d130575dd3
Cleanup header includes in tests
...
Change-Id: I37de20f7c074ddcb23f893b2cda7fd6fff7bd32b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-06-02 19:40:26 +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
3e8f05d702
remove kernelHeader from HeapInfo
...
Change-Id: Ic2d441df15a7f75b5f3ef41d484969148e59715f
2020-05-28 03:59:49 -07: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
41fef1c71e
Enable Opencl 3.0 support on TGLLP
...
Related-To: NEO-4368
Change-Id: I59e015ee28d29eab4aaf8781ac1ffb3a9cde4d09
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-21 14:09:52 +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