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
270cae33fd
Change LWS selection policy for short kernels.
...
-prefer small LWS.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-05-20 15:23:06 +02:00
da34084514
Improving cpp compliance - marking unused vars
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-20 15:14:35 +02:00
8ca347f836
Moving getPciPath out of os interface
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-20 14:58:57 +02:00
2b3b47b495
Add cl_khr_pci_bus_info extension
...
Signed-off-by: Egor Suldin <egor.suldin@intel.com >
https://github.com/intel/compute-runtime/pull/374
2021-05-20 14:51:33 +02:00
b50a6bec82
Correct isBlitCopyRequiredForLocalMemory
...
detect not lockable allocation based on gmm flag
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-20 13:17:49 +02:00
abf0649a5b
Improving cpp compliance
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-20 00:10:06 +02:00
1dd552d473
Change D3DKMT_CLIENTHINT_OPENCL to _ONEAPI_LEVEL0 in L0
...
Signed-off-by: Piotr Obst <piotr.obst@intel.com >
2021-05-19 07:54:50 +02:00
39b4c873e2
Add root device index to aub filename
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-18 18:38:56 +02:00
a5d38170ad
Move some shared tests to shared
...
Tests that are not specific to openCL or level zero
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-05-18 13:51:18 +02:00
074fc1d60f
Fix clGetKernelSuggestedLocalWorkSizeINTEL
...
Related-To: NEO-5456
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-05-18 13:35:26 +02:00
187bfefe28
Invalid pointer passed to tracer
...
Fixed an issue with invalid return value passed to tracer for
clGetExtensionFunctionAddress
Signed-off-by: Anton V. Gorshkov <anton.v.gorshkov@intel.com >
2021-05-18 12:31:37 +02:00
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
8e691711e9
Handle not lockable allocations in HW with AUB mode
...
don't lock not lockable allocation
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-17 14:06:34 +02:00
df1162ff4d
Change alignment for forced created ptr in image
...
Related-To: NEO-5723
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-05-14 17:12:06 +02:00
86f63bb2ed
Check supportsMediaBlock capability in ocloc
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-05-13 18:57:05 +02:00
2830073139
Save State Save Area Header in OCL
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2021-05-13 17:58:14 +02:00
3759035b4c
Unify size of extern array
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-12 10:11:48 +02:00
8e1e213bcf
Disable GEM_WAIT when new residency model available
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-05-10 14:59:21 +02:00
3dbe37c423
Correct media_block_io extension reporting
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-05-10 13:39:52 +02:00
95ba83c7e1
Fix ocl program creation on multi device contexts
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
Related-To: NEO-5734
2021-05-10 12:30:09 +02:00
47256642c3
Enable Level Zero on ADLS, RKL
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-05-07 22:08:50 +02:00
c6e81d3ed5
Simplify parsing affinity mask
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-05 21:17:53 +02:00
cf77aa1fe6
Add branch suffix for compression selector
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-05-05 12:15:46 +02:00
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
2f4f5a22ae
GTPinFree to check for buffer in shared memory
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-29 09:56:41 +02:00
52308244a6
Disallow for copying local memory buffers on CPU
...
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-28 16:25:35 +02:00
5c6018b418
OCL: Enable creating context with multiple devices without subdevices
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-27 17:32:22 +02:00
2ce63fd368
Cmake cleanup
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-04-27 15:29:14 +02:00
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
b7883bf838
Add helper to check if non-AUX mode is required
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-26 17:51:58 +02:00
1823054e08
Linux: pass adapter BDF to GmmLib
...
Resolves: NEO-5785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-23 18:45:50 +02:00
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
215051c48f
Dont program semaphores for cross root device timestamp packets
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-23 14:43:37 +02:00
902cce597a
Add new functionality to load SIP from file
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-23 13:48:26 +02:00
0607118f15
Correct allocating memory for multi root device buffers
...
use dedicated method for creating allocation from existing storage
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-22 18:32:48 +02:00
7a5e0e13a5
Add isBlitterForImagesSupported helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-04-22 16:10:20 +02:00
c99b223aed
Implement cl_intel_device_attribute_query extension
...
Related-To: NEO-5759
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-22 11:19:32 +02:00
2b12e9b42f
Program MI_SEMAPHORE_WAIT only on multi device setup
...
Fill and program CsrDependenciesForForTaskCountContainer
only on multi device environment
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-21 16:38:06 +02:00
33f05a25cd
Fix typo
...
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-04-21 16:25:17 +02:00
1bba3252bc
MemObj uses isRenderCompressed when it's an image
...
Related-To: NEO-5139
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-04-21 11:56:47 +02:00
ffc310858a
Add DebugVariable to control opt-disable when debugger is used
...
Resolves: NEO-5760
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-19 16:41:14 +02:00
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
b01b8ba5ac
Use MI_SEMAPHORE_WAIT command for event synchronization
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-19 11:34:52 +02:00
77b39ea3df
Introduce StreamProperties
...
Split programVfeState function.
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-04-15 16:00:44 +02:00
45b005161a
Dont create VM IDs if not supported
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-14 10:51:56 +02:00
8e2e9595a2
Always query memory info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-12 12:52:15 +02:00
9cf7651643
Simplify Device classes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-08 19:00:59 +02:00
c84e9ca4f1
Add blitter path for memory transfers to kernel allocations
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-08 15:55:20 +02:00
da7eaff0fe
Decompose hw helper for GTPin functionality
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-07 15:09:37 +02:00