Compute-Runtime-Validation
b5545c2a50
Revert "Implement ze_device_memory_properties_t.maxClockRate"
...
This reverts commit c3b63bd8a2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-17 10:21:25 +02:00
Jitendra Sharma
c3b63bd8a2
Implement ze_device_memory_properties_t.maxClockRate
...
Current implementation of ze_device_memory_properties_t.maxClockRate
is providing max dynamic frequency of GPU not the max memory frequency.
This change fixes that issue.
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-16 09:12:29 +02:00
Milczarek, Slawomir
9839b3049d
Move unit test helper to shared code
...
Related-To: NEO-5161
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-13 20:06:08 +02:00
Maciej Dziuban
fd9fb3e46b
Remove isInitialized() method from OsContext
...
We can fail early, instead of constructing an invalid object
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 14:12:20 +02:00
Maciej Dziuban
5f9dbef401
Pass alignment to Gmm
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 13:40:43 +02:00
Mateusz Jablonski
aff7b7cdd1
Pass hardware info to adjustSamplerState method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-07 10:58:04 +02:00
Bartosz Dunajski
f8f8b53d95
Improve OsHandle struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-02 18:42:16 +02:00
Spruit, Neil R
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
Milczarek, Slawomir
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
Jaime Arteaga
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
Mateusz Jablonski
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
Maciej Dziuban
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
Spruit, Neil R
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
Piotr Zdunowski
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
Katarzyna Cencelewska
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
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
Mateusz Jablonski
4417537eb5
Add function to adjust timestamps on Windows
...
Resolves: NEO-5435
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-26 17:46:04 +01:00
Mateusz Jablonski
6a54bde164
Improve allocation logging, add gpu address to the log
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-20 18:23:33 +01:00
Jaroslaw Chodor
b0c915c61d
Optimizing binary size
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-01-11 11:48:53 +01:00
Mateusz Hoppe
6f69bd3560
Initialize SIP kernel in Device::create()
...
Related-To: NEO-4878
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-08 15:46:23 +01:00
Mateusz Hoppe
b9aee10679
Initialize internal heaps with at least minAddress from Wddm
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-04 13:13:13 +01:00
Adam Cetnerowski
fb75390954
ULT renaming: Windows Interface tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-21 17:28:46 +01:00
Mateusz Hoppe
510188eb29
Remove commented code
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-18 11:27:17 +01:00
Pawel Wilma
9bd0c69913
Add ClearColor allocation support for blitter
...
Related-To: NEO-5175
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
Mateusz Jablonski
b6a20f9b23
Move mock_gmm and mock_gdi to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 13:45:57 +01:00
Mateusz Hoppe
8198a739c8
Refactor Sip Kernel usage
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-03 10:43:53 +01:00
Jobczyk, Lukasz
343fd602fa
Add method to submit kernel on single subdevice
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
Maciej Dziuban
b5c899cd18
Fix disabled unit test
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 17:52:34 +01:00
Bartosz Dunajski
ba51cf5380
Bring back adjustPlatformForProductFamily() method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-20 15:26:28 +01:00
Bartosz Dunajski
949137e068
Remove not used method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-19 17:55:50 +01:00
Filip Hazubski
bfbc0e07ba
Update MemoryProperties initialization
...
Always specify the device.
Related-To: NEO-4651
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-17 16:52:23 +01:00
Katarzyna Cencelewska
e060536a32
Add check in allocateGraphicsMemory64kb to not use cpuPtr
...
when isRenderCompressed
Related-To: NEO-4532
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-11-06 17:14:07 +01:00
Mateusz Hoppe
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 21:02:53 +01:00
Mateusz Hoppe
4df533f63a
Use full path when loading SourceLevelDebugger library
...
Change-Id: I27f7ee2b8944b9890ab4b141c06e9c2f0a8dffb1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-01 18:18:38 +01:00
Bartosz Dunajski
d35806fdd8
Improve returning global and max alloc memory size
...
Change-Id: I2f22481412184f01652b7e49bc30a57c56e6204b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-30 15:58:42 +01:00
Zbigniew Zdanowicz
c678f3d9b0
Make DeviceBitfield argument constant
...
Related-To: NEO-5225
Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
Zbigniew Zdanowicz
30a67618f8
Add DeviceBitfield argument to CSR constructor
...
Related-To: NEO-5225
Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
Mateusz Hoppe
63d5c2b42a
Assign INTERNAL_FRONT_WINDOW heap for DebugModuleArea allocation
...
Related-To: NEO-4550
Change-Id: Ic3209a5777245f0d1c6231cb0ce22d5327372a65
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-22 11:48:37 +02:00
Zbigniew Zdanowicz
27c281a044
Fix start and dispatch blitter commands in direct mode
...
Related-To: NEO-5010
Change-Id: I3d03ef39325adb2beba26a989906381f5eccc4ff
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-20 14:12:22 +02:00
Mateusz Hoppe
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
Mateusz Jablonski
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
Filip Hazubski
89be51cd94
Update CL_MEM_FORCE_HOST_MEMORY_INTEL flag
...
Rename CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL to
CL_MEM_FORCE_HOST_MEMORY_INTEL.
Rename MemoryFlags::forceSharedPhysicalMemory to MemoryFlags::forceHostMemory.
Change-Id: I48c0ae958ff55f2aef71cf99ed274d021a3c1f19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 20:33:35 +02:00
Katarzyna Cencelewska
ee63b7a840
Initialize storageInfo for new create allocation
...
in WddmMemoryManager::allocateGraphicsMemory64kb
Change-Id: Ie7ef14f2960c3923014941882c63f116ef265d74
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-09-30 13:07:50 +02:00
Maciej Plewka
e34c319ed7
Special address pool at External heap begining
...
Change-Id: I7da6e67010ff7a819aec25abea9213b6e43e348e
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-09-29 07:51:12 +02:00
Zbigniew Zdanowicz
3b6f9b7cb6
Add implicit flush for new resources and idling gpu
...
Related-To: NEO-5100
Change-Id: I57fdb8eecd88124c4c9171014950554c35dbecd1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-22 21:50:02 +02:00
Lukasz Jobczyk
2272e32fed
Make init direct submission tests os agnostic
...
Related-To: NEO-4989
Change-Id: I77bd452e37d5a06ab8eda7f10cef6e029d473218
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-09-21 16:52:27 +02:00
Bartosz Dunajski
5b31b31734
Remove low priority and internal engine index variables
...
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-21 16:44:14 +02:00
Mateusz Jablonski
98c9e3f6ca
Verify GL sharing based on luid from wglGetLuidINTEL function
...
Related-To: NEO-5016
Change-Id: I4409132ce000d6052c7f69a9b19c01389d51c2de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-18 09:51:28 +02:00
Spruit, Neil R
3c44c6f942
Fix Windows Adapter Enumeration to ensure Render/Compute support
...
- On Windows, if one uses remote desktop to connect to their windows machine,
then attempts to run compute workloads, a shadow intel graphics device
is created and L0/OpenCL will report 2 devices for a single device.
- This second device is not valid and if used will cause workload failures.
- to ensure that only usable devices are reported by L0/OpenCL, we now check
the Adapter for its Support in D3DKMT_ADAPTERTYPE which for our use must
have RenderSupported. The Shadow devices only support display and not
rendering/compute, so this check will avoid reporting a display only
intel device for compute usage.
Change-Id: Ib619c454aea2deb91135e7958efbca1cee5a05eb
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-04 12:00:47 +02:00
Mateusz Jablonski
442b6cfc47
Verify GL sharing based on primary display's luid
...
Resolves: NEO-5016
Change-Id: I244536fdd8acacfeb423ae09e13191df66c4f74a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-02 17:14:13 +02:00