Commit Graph

198 Commits

Author SHA1 Message Date
Szymon Morek a85ae676e7 Rename plus in cmake macros to and_later
Related-To: NEO-5920

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-13 11:40:19 +02:00
Bartosz Dunajski 23b72decc3 Add OCL xe_hp_core unit tests - part 2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-10 16:12:30 +02:00
Bartosz Dunajski 470c49b24f Update TSP tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 21:38:26 +02:00
Filip Hazubski 66ee5bd3c4 Correct typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 20:08:18 +02:00
Kacper Nowak 29580e53ec Revert WA for 2D Images for XE_HP_SDV
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-08-03 10:37:17 +02:00
Milczarek, Slawomir eb14d8458b Add helper function to enable stateless compression
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Milczarek, Slawomir f9f5c96ffe Add resolves for USM allocations when aux translation is required
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-27 15:10:41 +02:00
Milczarek, Slawomir a18fb402a0 Add resolves for SVM GPU allocations if aux translation is required
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-27 10:21:11 +02:00
Maciej Plewka e87056fb4d Implement WA for 2d Images
Related-To: NEO-5659, NEO-5654, NEO-5653

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-26 10:26:28 +02:00
Mateusz Hoppe c4950eb892 Method to get attention bitmask from threads vector
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-23 15:22:22 +02:00
Milczarek, Slawomir 330856c9e9 Add resolves for unified memory when aux translation is required
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-22 14:02:52 +02:00
Lukasz Jobczyk 9e50138829 Defer ULLS initialization
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-21 15:55:16 +02:00
Maciej Plewka dfe578754b Fix add pipe controll before marker profiling
Resolves: NEO-6065

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-20 16:23:57 +02:00
Bartosz Dunajski 2d88cbb232 Add xe_hp_core cache_flush and memory_manager tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-20 13:29:25 +02:00
Dominik Dabek bbe599aa95 Selectively enable getMaxThreadsForWorkgroup WA
Related-To: NEO-6022

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-07-14 17:29:43 +02:00
Maciej Plewka bc121c09fa Use DSS count to callculate max work group size
This reverts commit 89b7a4c9cc0a69cfd2eb5a0bd138356f34c52f0d.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-05 10:14:20 +02:00
Bartosz Dunajski 64eb82efac Add Kernel restrictions
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-02 17:41:03 +02:00
Maciej Plewka aed3fada28 Revert "Use Eu per dss to callculate max work group size"
This reverts commit 86b12dd23979db12e1898013c9162cb7106e40f1.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-02 17:16:06 +02:00
Maciej Plewka bcf93a6aeb Use Eu per dss to callculate max work group size
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-02 12:30:18 +02:00
Bartosz Dunajski 96d14967ac Partial support for XE_HP_SDV
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-24 18:35:54 +02:00
Krystian Chmielewski 5e8e066541 Bindless support ocl
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-06-23 13:56:12 +02:00
Mateusz Jablonski 2ab961be49 Ensure that builtin kernel is patched and can't transform images
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-06-22 16:20:07 +02:00
Maciej Dziuban 843b65bb07 Add usingImages field to the Kernel class
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-22 15:25:22 +02:00
Compute-Runtime-Validation 9bc4f02a88 Revert "Ensure that builtin kernel is patched"
This reverts commit c9c752526e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-06-21 12:59:27 +02:00
Mateusz Jablonski c9c752526e Ensure that builtin kernel is patched
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-06-17 17:49:18 +02:00
Krystian Chmielewski 6fad8b3100 Refactor ocl kernel
Removed dispatch traits pointers and added getters. Removed uneeded
tests.

Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-06-11 16:52:09 +02:00
Maciej Plewka 8279567f0e Fix max work group count for esimd kernel
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-05-27 14:13:51 +02:00
Kamil Kopryk 7fdab76d96 Code cleanup - constexpr for bitness ults
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-05-26 13:23:25 +02:00
Mateusz Jablonski d2ac316e47 Improve error handling in clCreateKernel
return nullptr when kernel initialization fails

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-20 18:58:08 +02:00
Zbigniew Zdanowicz a692f1ecc5 Move flag setup after initialization
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-20 13:39:18 +02:00
Adam Cetnerowski 35acadaf78 ULT renaming: Kernel tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-05-17 21:51:18 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Zbigniew Zdanowicz 544890c066 Change default placement of preemption allocation
Related-To: NEO-5800

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-11 15:26:24 +02:00
Young Jin Yoon 6f555d6258 Use L3_CONTROL only for DG1
Related-To: LOCI-1877
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-05-04 10:42:06 +02:00
Konstanty Misiak c4502ccf66 Fix OCL MOCS index with UNCACHED flag
Related-To: NEO-5742

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-05-04 10:01:44 +02:00
Dominik Dabek bb9d902899 Add padding for ISA allocations
Related-To: NEO-5771
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-04-27 11:03:58 +02:00
Krystian Chmielewski ef71915c71 Remove KernelArgInfo and use KernelDescriptor's args instead
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-04-23 15:12:09 +02:00
Adam Cetnerowski 33f05a25cd Fix typo
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-21 16:25:17 +02:00
Vinod Tipparaju b5d2d7fc52 Use flushTask() for non-kernel opertaions. Enabled for following APIs
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.

Related-To: LOCI-1987

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-04-19 22:24:47 +02:00
Katarzyna Cencelewska 43a032d764 Add info about supported thread arbitration policies
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-04-07 11:25:33 +02:00
Compute-Runtime-Validation 1c2dc70314 Revert "Add info about supported thread arbitration policies"
This reverts commit 3d13a9d855.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-05 08:46:58 +02:00
Katarzyna Cencelewska 3d13a9d855 Add info about supported thread arbitration policies
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-04-02 12:19:12 +02:00
Krystian Chmielewski 4808f663b6 Remove WorkloadInfo from KernelInfo
Related-to: NEO-4729

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-31 16:29:38 +02:00
Mateusz Jablonski 8215395401 Simplify Context method
return if context has multiple sub devices related to a given root device

Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Bartosz Dunajski 4a2a14fd41 Refactor getTimestampPacketAllocator method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-29 18:18:56 +02:00
Krzysztof Gibala 7bfe26a08d Remove ensureMemoryOnDevice function
Remove:
- ensureMemoryOnDevice
- lastUsedRootDeviceIndex
- requiredRootDeviceIndex
- getMigrateableMultiGraphicsAllocation

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-29 11:41:07 +02:00
Bartosz Dunajski 5a50ad098c Refactor TagAllocator
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-26 15:16:56 +01:00
Mateusz Jablonski d6bbe48175 Handle SVM allocations from multi root device contexts
Related-To: NEO-5001, NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-24 11:14:39 +01:00
Mateusz Jablonski 35ff284944 Cleanup Kernel class
move deviceVector to MultiDeviceKernel class
remove Device arg from Kernel's methods

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-24 09:17:41 +01:00
Mateusz Jablonski 7098e9c5f2 Store single KernelInfo in Kernel
remove root device index from Kernel's methods

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 21:30:03 +01:00