Commit Graph

174 Commits

Author SHA1 Message Date
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
Bartosz Dunajski 9c5dee54dc Fix root device residency for TagNode
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-17 14:51:23 +02:00
Jaroslaw Chodor 3ae75b39fb Changing win dev discovery to DXCoreAdapterFactory
Second try - keeping legacy path as fallback

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-13 22:31:48 +02:00
Mateusz Jablonski 3759035b4c Unify size of extern array
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-12 10:11:48 +02:00
Compute-Runtime-Validation 5d90594d9d Revert "Changing win dev discovery to DXCoreAdapterFactory"
This reverts commit 83143c4318.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-11 12:40:03 +02:00
Jaroslaw Chodor 70f8fe1c01 UM-KM data refactor for Windows
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-09 13:42:18 +02:00
Jaroslaw Chodor 75e427f2e8 Moving to D3DDDI_ALLOCATIONINFO v2
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-01 23:14:13 +02:00
Jaroslaw Chodor 83143c4318 Changing win dev discovery to DXCoreAdapterFactory
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-30 15:57:35 +02:00
Konstanty Misiak 62d52ba2e9 Fix DG1 tests fail
Related-To: NEO-5679

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-04-21 18:47:22 +02:00
Mateusz Jablonski c5546a5cfb add method for setting allocation priority
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 15:06:20 +02:00
Jitendra Sharma 8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +02:00
Maciej Dziuban 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
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