Commit Graph

1083 Commits

Author SHA1 Message Date
Katarzyna Cencelewska
34c873c3aa Update description of ForceAuxTranslationMode
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-05 17:58:05 +01:00
Maciej Dziuban
1350aa52fb Pass DispatchInfo to estimation functions
Related-To: NEO-5546

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-05 12:47:55 +01:00
Kacper Nowak
234b401aab Moved devices.inl and devices_base.inl to shared for future shared use in ocloc
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-03-04 13:03:45 +01:00
Zbigniew Zdanowicz
24b928303b Rename fields in AllocationProperties
Related-To: NEO-5498

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-02 18:32:37 +01:00
Lukasz Jobczyk
8fa97ed4a8 Fix shared buffer object size
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-02 14:08:47 +01:00
Slawomir Milczarek
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
Bartosz Dunajski
9c164a01a6 AuxTranslationMode fallback path
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-02 12:09:04 +01:00
Mateusz Hoppe
f00a2c9422 Add UseBindlessDebugSip debug variable
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:41:12 +01:00
Mateusz Hoppe
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
Mateusz Jablonski
da5f7b9216 Add debug keys to scratch register write after walker
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-26 16:13:57 +01:00
Mateusz Jablonski
35064c3dea Allow for hex input in file with debug keys
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-26 16:04:26 +01:00
Zbigniew Zdanowicz
3e4be8d78e Add new allocation type
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-26 12:57:12 +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
Artur Harasimiuk
59ccb2282b ocloc update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-02-25 16:02:46 +01:00
Maciej Dziuban
b11f367db4 Add missing getter methods
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-25 12:02:05 +01:00
Jaime Arteaga
722a80079b Add experimental_properties for indirect access (2)
Add support to OpenCL to also make use of indirect access properties
provided by IGC and to make use of DisableIndirectAccess debug key.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 11:41:24 +01:00
Krystian Chmielewski
9bb229f771 Use printfSurfaceAddress arg instead of patchToken
Use KernelDescriptor's printfSurfaceAddress arg instead of storing
SPatchAllocateStatelessPrintfSurface token in KernelInfo's patchInfo.

Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-02-24 15:51:30 +01:00
Daria Hinz
13fe8ed7f1 Revert "Correct POST_SYNC for L0 Events"
This reverts commit 04d1a3255357a7778a530f054700e211d94f3b6d.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-02-24 10:16:22 +01:00
Lukasz Jobczyk
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
Mateusz Hoppe
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
Slawomir Milczarek
ef3678e005 Add checks for default cache policy
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-02-19 14:16:14 +01:00
Lukasz Jobczyk
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
Kamil Diedrich
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
Daria Hinz
64d772d366 Fix for adding MI_SEMAPHORE_WAIT & reset L0 Event
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-02-18 18:33:21 +01:00
Mateusz Jablonski
df1e7792c6 Restore GPU breakpoint improvement
handle user confirmations in gpu modes: always, only before, only after
handle multiple confirmations when pausing on each enqueue
move tests to mt_tests


Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-17 22:56:31 +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
Lukasz Jobczyk
489b78f0b5 Enable new residency model by default
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-17 16:42:30 +01:00
Maciej Dziuban
f7d105f2e2 Create work partition allocation
Related-To: NEO-5546
Resolves: NEO-5561
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-17 15:28:42 +01:00
Lukasz Jobczyk
1844875b9d Disable timeout while waiting when direct submission active
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-17 14:46:19 +01:00
Bartosz Dunajski
15f3353351 Pass additional allocation parameters to aub_stream
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-17 14:20:08 +01:00
Lukasz Jobczyk
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
Lukasz Jobczyk
0f78357e93 Add option to pass bound BOs to exec
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-17 13:09:01 +01:00
Bartosz Dunajski
584da13ff8 aub_stream interfaces update
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-16 16:03:04 +01:00
Mateusz Hoppe
6dd0f0c728 Relocate debug data
Related-To: NEO-4769

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-16 14:59:30 +01:00
Filip Hazubski
a0d3e8b352 Simplify stepping conversion
Related-To: NEO-5475

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-02-16 11:52:17 +01:00
Lukasz Jobczyk
ed5bbe2d43 Disable new residency model
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-16 11:08:47 +01:00
Filip Hazubski
7d01074ee4 Update aub/tbx stepping handling
For the stepping value use hardware value.

Resolves: NEO-5475

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-02-15 13:57:39 +01:00
Zbigniew Zdanowicz
c35f560971 Refactor internal interface
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-15 13:24:00 +01:00
Mateusz Hoppe
06bcc67e38 Clean log file from incorrect entries
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-15 13:05:29 +01:00
Mateusz Jablonski
1494205e28 Revert "Improve GPU breakpoint support"
This reverts commit a6d898a026.

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-12 14:11:50 +01:00
Slawomir Milczarek
ca84fdd64a Add helper function stub to get number of cache regions
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-02-12 11:01:07 +01:00
Maciej Dziuban
98ff3cc0a9 Do not use blitter for local->local SVM and USM copies
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5549
2021-02-11 16:24:57 +01:00
Filip Hazubski
ae484993e2 Update builtins generation
Use revision id when generating cpp files.
Related-To: NEO-5167

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-02-11 14:36:58 +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
Slawomir Milczarek
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
Maciej Dziuban
2cd6809d1e Do not use blitter for clEnqueueCopyBuffer
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-11 12:42:43 +01:00
Bartosz Dunajski
fcf6ecfad7 Pass HwInfo to getExtraMmioList
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-11 09:38:56 +01:00
Lukasz Jobczyk
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
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
Jaime Arteaga
1aca16a7ac Add experimental_properties for indirect access
Read zebin experimental properties indicating whether a kernel has
indirect access and if so, ignore calls to zeKernelSetIndirectAccess.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-10 14:23:43 +01:00