Compute-Runtime-Validation
c5c3e865f0
Revert "Fail build program on PVC with stateful accesses"
...
This reverts commit 9466113cef .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-14 18:55:14 +01:00
Kamil Kopryk
9466113cef
Fail build program on PVC with stateful accesses
...
Related-To: NEO-6075
After this change driver will fail clBuildProgram/zeModuleCreate api calls
whenever stateful access is discovered on PVC.
This is required since in this case allocation greater than 4GB
will not work.
If user still wants to use stateful addressing mode,
-cl-opt-smaller-than-4GB-buffers-only / -ze-opt-smaller-than-4GB-buffers-only
build option should be passed as build option, but then user can not use
bufers greater than 4GB.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-02-14 13:44:22 +01:00
Krystian Chmielewski
d49c5d6185
OCL: Set target device product family
...
In OCL product family of target device is not set
which leads to a fail on validating target device in
ZEBin path.
This change adds function that sets all
necessary fields based on provided hardware info.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-02-08 16:49:28 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
Kamil Kopryk
27c90ac2d6
Simplify ult - prefer debug manager state restorer
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-02-03 19:45:46 +01:00
Katarzyna Cencelewska
92316c48f2
Remove device enqueue part 13
...
-remove isOcl21Conformant
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-31 16:02:37 +01:00
Kacper Nowak
306775f7f1
Refactor debugData and debugDataSize in OCL.
...
This commits moves debugData and debugDataSize to buildInfos vector (per
root device).
- debug data is now stored per device instead of per cl_program
- added creation of debug data (incl. debug zebin) and its returning in
clGetProgramInfo (CL_PROGRAM_DEBUG_INFO_INTEL).
Related-To: NEO-6463
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-01-28 14:03:21 +01:00
Katarzyna Cencelewska
97765cd39f
Remove device enqueue part 7
...
- mainly remove BlockKernelManager and ReflectionSurfaceHelper
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 10:41:57 +01:00
Kamil Kopryk
0a4554ab23
Simplify internal options initialization
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2022-01-13 11:03:04 +01:00
Patryk Wrobel
3599e7aeda
Add warning when device binary had to be recompiled
...
Introduced a new warning, which is printed to build log, when the
binary needs to be recompiled. Added a new flag -Wno-recompiled-from-ir
to allow suppression of that message. Removed a bug related to memcpy_s
from ModuleBuildLogImp::getString() and aligned it with specification.
Related-To: NEO-5819
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2021-12-23 16:13:59 +01:00
Mateusz Jablonski
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
Compute-Runtime-Validation
b7cee61bde
Revert "Fail build program in shared system USM + stateful access case"
...
This reverts commit 0ad8afc0b3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-12-07 01:00:59 +01:00
Kamil Kopryk
0ad8afc0b3
Fail build program in shared system USM + stateful access case
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
After this change driver will fail clBuildProgram/zeModuleCreate api calls
whenever stateful access is discovered and device has shared system usm caps
enabled.This is required since in this case allocation greater than 4GB
will not work.
If user still wants to use stateful addressing mode,
-cl-opt-smaller-than-4GB-buffers-only / -ze-opt-smaller-than-4GB-buffers-only
build option should be passed as build option, but then user can not use
buffers greater than 4GB.
2021-12-06 15:10:16 +01:00
Mateusz Hoppe
b11d7cd7b0
Add debug key for compiler internal options injection
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-23 15:41:11 +01:00
Kamil Kopryk
7bbb43a563
Move sharedSystemMemCapabilities to hwInfo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2021-11-17 14:42:05 +01:00
Compute-Runtime-Validation
faea7915c2
Revert "Fail build program in shared system USM + statefull access case OCL"
...
This reverts commit 9dabc2db0c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-05 20:31:47 +01:00
Kamil Kopryk
9dabc2db0c
Fail build program in shared system USM + statefull access case OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2021-11-05 14:55:05 +01:00
Mateusz Jablonski
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
Mateusz Jablonski
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00
Bartosz Dunajski
5856c283c5
Remove HardwareCapabilities struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-12 07:25:06 +02:00
Mateusz Jablonski
7187769744
Move kernel binary helpers to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-06 13:41:34 +02:00
Artur Harasimiuk
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-20 16:46:50 +02:00
Krystian Chmielewski
2a577c6466
Enable zebin relocations in OCL
...
Related-To: NEO-5833
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-08-24 16:00:57 +02:00
Kamil Diedrich
2afb785bba
Add AIL functionality
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-08-02 15:31:58 +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
Adam Cetnerowski
b2fae343ec
ULT renaming: Misc tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-05-24 19:35:45 +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
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
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
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
Mateusz Jablonski
35d2325361
Remove KernelDeviceInfo struct
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-22 14:25:23 +01:00
Mateusz Jablonski
7a58e7bc3e
Pass Device to Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-19 17:44:54 +01:00
Krystian Chmielewski
41f3bd00ff
Remove PatchTokens from KernelInfo
...
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-03-09 17:09:13 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
Filip Hazubski
65aecc84f1
Add __IMAGE_SUPPORT__ option for compilation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-01-19 16:21:57 +01:00
Adam Cetnerowski
74651237b2
ULT renaming: Program tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-12-29 12:50:08 +01:00
Mateusz Jablonski
aa27b4890b
Fix typo in ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-17 12:25:12 +01:00
Mateusz Jablonski
c3c92416db
Enable memory transfer for mem obj kernel args
...
correct building programs with multiple root devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-17 11:14:33 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-08 09:14:44 +01:00
Mateusz Jablonski
0d943e95c4
Store KernelInfo per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-07 12:22:28 +01:00
Filip Hazubski
c83087ea72
Correct generating extensions list for compiler in Program
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-03 18:58:19 +01:00
Mateusz Jablonski
ff027615c9
Refactor ULT, dont create parameterized tests for single config tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-03 13:51:57 +01:00
Mateusz Jablonski
077ae2726e
Correct storing KernelInfos in multi device programs
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-01 16:15:37 +01:00
Mateusz Jablonski
2ee1d569c5
Store KernelInfo per root device in Program
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-01 11:38:23 +01:00
Krzysztof Gibala
baea633bdd
Correct logic in MultiRootDeviceFixture
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-27 16:22:39 +01:00
Maciej Plewka
ded70b803d
Use common compile bindless flag
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-27 14:28:55 +01:00
Mateusz Jablonski
b85a8ace68
Pass root device index to Kernel's methods
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-25 12:49:15 +01:00
Mateusz Jablonski
8fdc35bb4b
Disallow compiling/building program if it has attached Kernels
...
allow for creating kernel if the program is built for at least one device
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-23 18:15:44 +01:00
Mateusz Jablonski
a67e829fa8
Store crossThreadData per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-20 20:49:50 +01:00