08210f8be5
Fix for Metric Api test that attempts OS (fstat) function.
...
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com >
2021-04-09 17:29:23 +02:00
d182d77a41
Remove unused methods
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-09 13:39:02 +02:00
223a42c3c7
Refactor DebugSession creation
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-07 14:40:02 +02:00
1921bfb3dc
Add infrastructure to enable direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-07 14:23:58 +02:00
aff7b7cdd1
Pass hardware info to adjustSamplerState method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-07 10:58:04 +02:00
f8f8b53d95
Improve OsHandle struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-02 18:42:16 +02:00
7a3095c273
Report failure given Compiler Library Load failed for L0
...
- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
are enabled.
Related-To: LOCI-1313
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2021-04-01 23:01:38 +02:00
95b9880385
Add initialize() to DebugSession
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-01 16:51:31 +02:00
0c8080ac26
Add debug flag for low priority ULLS BCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-01 15:27:12 +02:00
75f3b416ae
Gfx partition with 64KB and 2MB heap granularities
...
Related-To: NEO-5507
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-01 14:54:55 +02:00
d6496f959a
Add support for floating point atomics properties extension
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-03-31 20:32:55 +02:00
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
9fcf89aff6
Fix casting for os_time_test ULT
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2021-03-27 19:04:08 +01:00
218387dd47
Apply timerResolution mod for L0 V1.1
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2021-03-27 11:43:03 +01:00
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +01:00
86a234ead6
Allocate debug area together with isa
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-26 09:31:44 +01:00
82eb4c936a
Default enumerate discrete devices first
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-03-23 19:30:53 +01:00
693f2ff384
Ensure shared handle be closed once on Linux
...
Related-To: NEO-5644
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-03-18 18:38:01 +01:00
69afa8b4c3
Add instrumentation to mocked Linux system calls
...
Related-To: NEO-5570
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-18 16:41:14 +01:00
5de0a7140a
Log root device index when logging allocations
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-18 12:47:39 +01:00
27ca04f77f
Check new residency model support
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-18 10:06:31 +01:00
d223508cad
Move Drm function
...
Related-To: NEO-5570
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-18 10:02:14 +01:00
274d2ff4b4
Correct createMultiGraphicsAllocationInSystemMemoryPool logic
...
isUSMHostAllocation flag will be set according to limited range product setup
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-16 16:22:33 +01:00
eb34c42e02
Enable static partitioning by default
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-03-16 12:48:11 +01:00
264f20ea00
Pass EngineTypeUsage to OsContext creation
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
aa05b5adb4
L0 and Ocl Metric Api sub device support
...
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com >
2021-03-15 17:14:55 +01:00
07b651ccb8
Make direct submission bcs context low priority
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-12 11:52:41 +01:00
2358173e65
Fix reserved size in shared BOs
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-11 13:54:50 +01:00
516a905712
Mark Scratch and Private allocations for capture
...
Related-To: NEO-5237
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-10 14:04:57 +01:00
4abe4a96b8
Add multiGraphicsAllocation to CSR
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-10 12:42:01 +01:00
bca7b54728
Allocation shareable to use standard64KB heap
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-03-10 11:39:16 +01:00
8fa97ed4a8
Fix shared buffer object size
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-02 14:08:47 +01:00
049166688c
Introduced standard heap with 2MB alignment on Linux
...
Related-To: NEO-5507
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-03-02 14:03:37 +01:00
8f87dfaf0c
Add Debug API handlers
...
Related-To: NEO-4554
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-01 15:26:43 +01:00
464e4fd1b1
Fix GMM usage in 1D image allocation on windows
...
Properly use the gmm resource created for the Image allocation
instead of the gmm resource created in allocateGraphicsMemoryWithAlignment
in the windows wddm memory manager by removing the call to
allocateGraphicsMemoryWithAlignment for 1D images.
Invalid ULT testing this functionality has been removed.
Related-To: LOCI-1845
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2021-02-26 11:58:27 +01:00
02ec657a21
Fix reading device pci path
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-02-25 21:26:29 +01:00
3d63e77d9f
Fix printfs in test
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-24 08:24:24 +01:00
4894411889
Add debug flag to print BOs for submit
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-23 19:45:42 +01:00
66f4c75aea
Adding DisableDeepBind debug flag
...
Related-To: NEO-4946
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-23 19:19:24 +01:00
ef3678e005
Add checks for default cache policy
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-02-19 14:16:14 +01:00
a23f211113
Disable gem close worker on direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-19 13:38:38 +01:00
edf066a54b
Return proper clDevice for given media adapter
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-02-18 21:29:15 +01:00
a555f28bf8
Don't unregister trim callback during process shutdown.
...
Resolves: NEO-4668
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2021-02-17 17:29:19 +01:00
9d3b759d29
Do not call GEM_WAIT while direct submission active
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-17 13:22:29 +01:00
9d0422cf69
Add hwInfo to sampler setArg and appendSamplerStateParams
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-02-11 14:21:13 +01:00
7dad49ccf4
Add new setters and getters for cache policies
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-02-11 14:07:06 +01:00
7c99739b89
Check if direct submission enable in OsContext
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-11 09:05:50 +01:00
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
199ae23def
Use CONTEXT_CREATE_EXT
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-10 13:28:59 +01:00
3df6110a17
Add extra parameters to setArgStateful()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-02-05 12:24:27 +01:00