Commit Graph

9976 Commits

Author SHA1 Message Date
7a3976ad64 Revert "Force 64KB page size for cpu alignment in dual storage allocation"
This reverts commit 7ff6a5c1fa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-07 00:45:07 +02:00
64d3f95410 Revert "Allow for zebin rebuild when IR is present"
This reverts commit 2ae3f3e521.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-06 23:17:22 +02:00
fe9fe80fc6 Avoid dynamic memory allocation [3/n]
- use reference on auto type to prevent copy.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-04-06 18:07:19 +02:00
bab1827e15 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-04-06 17:50:29 +02:00
7ff6a5c1fa Force 64KB page size for cpu alignment in dual storage allocation
There is no need to force 2MB alignment for CPU allocation in dual
storage usage. Additionaly for WSL this will allow to avoid usage of
malloc in driver path.

Relates-To: NEO-6620
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-04-06 15:28:17 +02:00
4044320301 Limit allocations in execute command list
Reserve space in ResidencyContainer

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-06 15:00:34 +02:00
8d5c674110 Dynamic memory tracking, update function printing
Print only demangled name if it succeeded.

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-06 14:34:24 +02:00
6e9c890890 Enable sfence instruction programming for DirectSubmission dispatch
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-06 14:24:04 +02:00
f4407064a4 Refactor store register mem encoder to include partition parameter
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 14:00:56 +02:00
76289be8c1 Avoid unnecessary allocation in enqueueHandler
Related-To: NEO-6837

kernelObjsForAuxTranslation will allocate only if needed

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-06 13:03:41 +02:00
616dd55789 Change event memory layout for multi tile capable platforms
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 11:20:57 +02:00
9e1bd1005b Disable aub test
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-06 09:06:26 +02:00
4fdb0700fe Disable flush task path on ATS
Related-To: LOCI-2984

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-06 02:14:41 +02:00
f7a767c767 Add demangling to dynamic memory tracking
Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-05 20:38:27 +02:00
d3b7ea10c8 Dont allocate dynamic memory when preparing params for vm bind call
Related-To: NEO-6837
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-05 19:41:56 +02:00
33340d28f7 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-05 17:23:19 +02:00
f735c9604a Updated drm header with hw config types
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc11

Related-To: NEO-6835

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-04-05 16:49:30 +02:00
eaba246464 Test prelim command stream and clos cache
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-05 16:48:00 +02:00
0dc2e39eaa gmmlib revision update
Signed-off-by: ocldev <ocldev@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-05 11:27:37 +02:00
335bf2fdb2 Update flushed task count when task count write was dispatched
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-05 11:00:51 +02:00
933fbd4f63 Fix scratch offset calculation in DebugSession
- account for ThreadEuRatio when calculating per-thread
scratch offset

Related-To: NEO-6677

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-05 10:33:49 +02:00
2ae3f3e521 Allow for zebin rebuild when IR is present
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-05 10:25:06 +02:00
f804eb7b2b infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
22.15.22905
2022-04-04 18:04:04 +02:00
090a79f3f9 Test local memory DRM allocations
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-04 17:30:05 +02:00
50efd09ad8 Improve code coverage of binary encoder and decoder
This change contains ULTs, which improve the
coverage of BinaryEncoder and BinaryDecoder
classes.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-04 17:20:01 +02:00
f09fd527f1 Remove redundant using declarations
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-04 17:10:21 +02:00
95103c3a33 Correct getters in generated commands
cast to uint64_t before shifting value

Related-To: NEO-6475
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-04 16:35:17 +02:00
d2462ff8fb Add debug flag to control ISA allocation padding
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-04 15:12:30 +02:00
8e98b586ed Cleanup shared test files - xe_hpc_core
- move test files from shared/test/common directory to
shared/test/unit_test
- cleanup cmakelists.txt files

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-04 14:18:40 +02:00
f279186c00 manifest update
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-04 13:49:04 +02:00
ff240c66db Update cmake for dynamic allocation tracking
If cmake variable ENABLE_DYNAMIC_MEMORY_TRACKING is true:
- add preprocessor definition to enable tacking
- change linker options to export all symbols

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-04 12:34:22 +02:00
817ba40771 Stop accessing task count from out-of-bound in opencl and shared ult
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-04 11:29:54 +02:00
7c068cb05b Add PVC hwinfo config test for Thread Eu ratio
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-04 11:03:36 +02:00
7f6296174c Add PVC device ids
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-04 10:48:59 +02:00
8f88d375ab Sysman: remove gmocks from standby module
Related-To: LOCI-2030
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-04-04 10:41:12 +02:00
9ace9356f8 Use timestamp wait only if cache flush not needed
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-04 09:36:03 +02:00
787c74ce7a Do not make dynamic allocations in hot calls.
std::stringstream does memory allocation even though it is not used.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
22.14.22890
2022-04-01 20:23:59 +02:00
5ba6f4a4bd update compilation flags
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-01 18:14:49 +02:00
9016772351 No dynamic allocations on hot calls [2/n]
- Prevent FULL vector copy.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-04-01 16:22:09 +02:00
b45ffdb334 Move drm command stream fixture to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-01 15:58:37 +02:00
779bca39a7 Debug flag to add sfence instruction prior to DirectSubmission dispatch
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-01 15:53:03 +02:00
beff0019d1 SBA tracking for single address space
Related-To: NEO-6539


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-01 15:24:11 +02:00
4374197c9d Fixes for bindless configuration
- enhance ults code, do not inject memory manager
- fix some issues related to bindless global heap

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-01 15:08:43 +02:00
7910567a76 Handle missing tag address in getting completion address
rename test fixture to comply one definition rule

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-01 15:00:35 +02:00
9cba46e5bf Improve code coverage of MultiCommand class
This change introduces ULTs for untested
parts of MultiCommand class. Furthermore,
it contains MockMultiCommand class, which
allows white-box testing.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-01 14:04:16 +02:00
f2a18370e8 Split command queue hw tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-01 08:35:40 +02:00
96e0b672f1 infra update
Related-To: NEO-6803
Related-To: NEO-6830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-01 05:12:31 +02:00
88193cc242 Minor fixes
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-31 20:02:11 +02:00
9d502dea25 Refactor waitOnCompletionFence method in DrmMemoryManager
get completion address and value from command stream receiver

Related-To: NEO-6643

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-31 19:30:16 +02:00
e32f624bf4 Update extension name
Resolves: NEO-6831

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-31 17:17:33 +02:00