Commit Graph

1032 Commits

Author SHA1 Message Date
bf3d57dd05 Revert "Enable cl_khr_subgroup_extensions"
This reverts commit 5826d3e105.

Change-Id: I3ab7d3ef01edc2d7a15a79bd01a438e863219026
2020-10-16 08:01:45 +02:00
f38beaf31c Remove injecting MMIO from AubCenter's dtor
Related-To: NEO-5147
Change-Id: I338b553ab22a92d799cba3d5414475130c5c50a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 19:44:53 +02:00
067ae67954 Introduce FRONT_WINDOW heaps inside INTERNAL heaps
Related-To: NEO-4550

Change-Id: I1979afb20881bcad7999af3ac5fd4f407b85ccc7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-15 17:18:31 +02:00
97154f7f98 Use ProgramInfo instead of Program in sip kernel
Related-To: NEO-5001
Change-Id: I58eda3ecc52fe1215ea8bbc35f97eea3a9d848e0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 16:41:18 +02:00
2d781e5934 Add missing USM host allocation flag
Change-Id: I5658d5574fd522cff072adcc679f04805daabf12
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-15 12:12:55 +02:00
fd492f28b0 Correct useSystemMemoryPlacementForISA
Related-To: NEO-5156
Change-Id: Iee6df3e06eea5707b3b6cb45ac50e9880ee4dfb4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 10:22:30 +02:00
21988a81e1 Enhance debug flag for post blit commands
Change-Id: Ia5dccd083d84ab1b7a1e772f7fd1d5344aa3c6b1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-15 09:46:22 +02:00
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
43b47b48bf ULT renaming: Gen-specific Sampler tests
Related-To: NEO-2236

Change-Id: Ieea95a0b59c07f1df06b0aec385d7a244325fc52
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-14 13:58:23 +02:00
39f4d9afc4 ULT renaming: Gen-specific Image tests
Related-To: NEO-2236

Change-Id: Icb16d4624fa0aaaca74370ac9498201f6a5325e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-14 12:47:55 +02:00
e34ba2a233 Create internal BOs with mmap by default
Change-Id: I34f79ae2e44cf087c3fe4ec6ab673e04db04e65e
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-14 10:37:36 +02:00
675f7b380f Fix for broken single sku build
Change-Id: I658bb0943d5ddc5229b8b25c4ae7fba2c867d25f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-14 10:25:19 +02:00
4b9abafffe ULT renaming: HW Helper tests
Related-To: NEO-2236

Change-Id: Ic1c3fa762d88b5c49903c02daa7a693d032cc780
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-13 15:12:47 +02:00
8892ee3f1f Align mmaped bo address properly
Change-Id: I010f6619821ad715bb6f0e9640be19943a45abd8
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-13 14:11:08 +02:00
eb8f5fa301 Get CL Device Name with device ID appended at the end
Related-To: NEO-4744

Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-13 14:00:33 +02:00
324150dd37 Do not track Kernel ISA as new resources.
Change-Id: Ib112952071b76ba471d046c13c556422c415ba96
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-13 13:34:35 +02:00
0c3d430f50 W/A for disabling RCC RHWO for compressed media surfaces on gen12lp
Whenever media compressed surface is used, the RCC Read-Hit-Write optimization
disable bit (14) has to be set in Common Slice Chicken1 register (7010h).

Related-To: NEO-4982

Change-Id: I71b91b52692252459da05b737838eb4854575974
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-13 11:52:15 +02:00
27f9a95af2 Refactor: Common helper for Blit and CPU memory transfers
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-12 18:29:42 +02:00
33ce6910c5 ULT renaming: Scheduler Dispatch tests
Related-To: NEO-2236

Change-Id: I5074cd1b46bbd91a306157579356571a735b6b14
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-12 18:18:38 +02:00
99f0d2b1db Add debug flag for BO mmap creation
Change-Id: I1b0dc8b9328bf3aab64ceeaf9f1c5aeb4199eb08
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-12 12:36:28 +02:00
38ca6e9862 Disable L1 for Gen12lp
Change-Id: I3b0ec2a6ea9a3bb72507ff66d314bfb1ad7a6a81
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-12 11:18:55 +02:00
ef76c7bdf6 ULT renaming: Enqueue Execution Model Kernel tests
Related-To: NEO-2236

Change-Id: Ic1077902f488b76a8b98b6d2d3cb09758346e56b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-11 20:28:23 +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
0e935b0e10 Add allowCapture flag to BufferObject
Related-To: NEO-5026

Change-Id: I69a9f270272a13fccdd1d8dd8b13ad03ef93cb79
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-09 17:04:43 +02:00
a939c89d91 Create internal BOs with map offset
Resolves: NEO-5097

Change-Id: I842f3d482420373cc630d5bfc034e229fa2cb30c
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-09 16:38:03 +02:00
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
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
bf32740f97 Move BTI programming to shared code
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-09 13:56:44 +02:00
493434c8e9 Use mock environment vars in tests
Related-To: NEO-4922

Change-Id: Ibf357b1db24ab63d2af6171cd66b5de2671b519c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-10-09 11:54:31 +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
9c1b818598 ULT renaming: Device Queue tests
Related-To: NEO-2236

Change-Id: I524f6475cc8f3156f78c104c2ae12024c0da51b4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-08 18:15:24 +02:00
ea1e27953d ULT renaming: Flush Task tests 2/2
Related-To: NEO-2236

Change-Id: Ic7d2075d4c6b48777b24c5acdade63211524978e
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-08 17:46:45 +02:00
91a36bf277 ocloc - preserve input spirv in output elf
Change-Id: I1205a5c655d643e0d6150f9dc7edaae30ad15225
2020-10-08 15:37:57 +02:00
4e3679b8ae Move local ids generation code to shared directory
Change-Id: I5b0486ceae8d67d0c1d1be56a756c102226d7e2a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-08 15:02:36 +02:00
8fcd51c2c8 Do not obtain command stream if it will not be needed
Change-Id: Id7fa1c6b78e71a085084f8fcb66a7b8e873ad2bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-10-08 12:24:03 +02:00
d07362c992 Use blitter to initialize Global surface if required
Change-Id: I53cc532a5b5edd16a32deaf987f85db4224b9945
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 17:11:48 +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
595f374634 Dont use blitter for local memory transfer if not available
Change-Id: I5f43113498b59e3f1b8cb280c9feeccae8ff6140
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 15:55:22 +02:00
67e2853857 Add missing mockable_virtual in code
Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
2020-10-07 14:25:04 +02:00
74aea08d15 Add DG1 device
Change-Id: Iaa5a115577e2cf94160164e67bbafb79d0374ff5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-07 12:43:55 +02:00
ce7e293a99 Extend scratch implementation
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +02:00
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
47f5867e8f Move common code to shared directory
Change-Id: I5f604de01e06d35cc1e045fffdd4a26d88ffca8c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-07 10:55:39 +02:00
caa212dcf3 Create top level copy_test_file_per_product target
- new target depends on all product specific
copy_test_files targets

Change-Id: I90adb6598790dc4a25d61e6c22f2b2b58e898717
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-07 10:39:51 +02:00
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
4dc3827b8e Prepare object lib for precompiled builtins in bindless mode
Releated-To: NEO-5138

Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-06 16:57:11 +02:00
bdf8c5fc90 Extend UnifiedMemoryProperties constructor to take device bitfield
Related-To: NEO-4722

Change-Id: Ice185f1792635922e9bb89cd7329e6501bc585e0
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-06 16:35:08 +02:00
28ef5fa709 Move pipecontrol w/a estimation to dedicated class
Change-Id: I8ceaa2dff94dd7148daf921568fd30f098e5dae4
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 15:02:37 +02:00
138f04bdcd Enable L1 cache for Tigerlake
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00