Commit Graph

65 Commits

Author SHA1 Message Date
Krzysztof Gibala c229ace4df Adjust GmmHelper to be HW aware
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-13 18:33:06 +02:00
Daniel Chabrowski 6e3d373ef6 Move tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-13 13:05:46 +02:00
Krzysztof Gibala 81899c4477 Add canonized gpuAddress to GraphicsAllocation constructor
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-06 18:17:36 +02:00
Krzysztof Gibala 21bcab7986 Move logger tests to shared
- Create new files for logger test in shared
- Reduce number of ULTs by converting parameterized tests into the normal
one.


Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-02 18:11:23 +02:00
Artur Harasimiuk dc78375d46 use test_files from source location in ults
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 14:20:13 +02:00
Mateusz Jablonski 8cda3ef5cb Move tag allocator tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 11:30:07 +02:00
Mateusz Jablonski 2ad04efd16 Move debug setting and file reader tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-18 18:54:02 +02:00
Artur Harasimiuk 3f04769f07 style: configure readability-identifier-naming.FunctionCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Artur Harasimiuk 819e0f5515 style: configure readability-identifier-naming.LocalVariableCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Artur Harasimiuk e9be9b64c6 clang-tidy configuration cleanup
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Dominik Dabek 8d1ad5a4f3 Refactor: use stack vector for root device indices
Stack vector will not cause dynamic allocations in most circumstances
ie. number of root device indices not more than 16

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-14 14:05:42 +02:00
Bartosz Dunajski 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
Sebastian Luzynski 01e76998d4 Remove unused CPU features
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-03-30 18:20:08 +02:00
Sebastian Luzynski cf906030ac Add neon intrinsics for aarch64
Related-To: NEO-6452

Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-03-29 18:22:32 +02:00
Fabian Zwolinski 3d8effcd69 Clean-Up unused code related to GMock
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations

Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-22 16:16:34 +01:00
Michal Mrozek 721c59d3d5 Move to StackVec for timestamp packet container.
Do not use std::vector in hot path.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-03-03 10:34:06 +01:00
Bartosz Dunajski 4b0d986876 Move AllocationType enum out of GraphicsAllocation class
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Mateusz Jablonski 527806b3ed Use full path to include test.h 2/n
fix files in shared

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 13:09:50 +01:00
Zbigniew Zdanowicz bac79244d5 Add multi tile event signal capability
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-09 12:13:23 +01:00
Lukasz Jobczyk 63116e4100 Use wait utils while waiting for timestamps
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-02 17:49:05 +01:00
Mateusz Jablonski 08ddbe9b41 Correct CpuInfo test not to require complex file path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-22 11:59:33 +01:00
Artur Harasimiuk 091b3ac4f6 cpu_info refactor
Related-To: NEO-5853
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-14 17:55:24 +02:00
Zbigniew Zdanowicz a51b385e80 Wait on all tiles when clearing allocation list
Related-To: NEO-6244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-12 11:55:43 +02:00
Jaime Arteaga 5c236a62fd Changes to SW tags
Add SW tags to synchronization points
Add ID sequence numbers
Add new allocation type

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-18 01:51:37 +02:00
Kamil Kopryk 4b8e1671a5 Sort inside cmake files
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-07-30 10:06:46 +02:00
Mateusz Jablonski f5dca9e14c Prevent double-free in StackVec's move-assignment operator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-23 11:52:05 +02:00
Piotr Obst acf3e58a64 Move wddm_fixture.h and releted files from opencl to shared
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00
Grzegorz Choinski ebf6c241b4 fix issues reported by clang-tidy
Related-To: NEO-5969
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2021-07-01 15:01:23 +02:00
Young Jin Yoon a1036ecc75 Fix alignment to be based on starting address
Related-To: LOCI-2342
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-06-17 19:08:08 +02:00
Milczarek, Slawomir 165194bf85 Add merge condition for freed chunks in heap allocator
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-05-27 16:26:54 +02:00
Maciej Dziuban 33e8f73775 Enable custom allocation alignments on Linux
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-24 12:56:51 +02:00
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
Maciej Dziuban 32025efafb Enhance HeapAllocator with custom alignments
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-07 21:43:11 +02:00
Adam Cetnerowski 2ef41e4b18 Remove ULT
Resolves: NEO-5711

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-26 11:22:54 +02:00
Zbigniew Zdanowicz 97505aebb6 Change default number of iterations in wait function
Related-To: NEO-4759

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-01 13:09:08 +02:00
Zbigniew Zdanowicz b9ed7de40a Parametrize wait operation
Related-To: NEO-4759


Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-31 15:12:59 +02:00
Filip Hazubski 9a8125cdb0 Correct formatting
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Konstanty Misiak 88a1593913 Add software tags
Related-To: NEO-344

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-03-15 15:51:08 +01:00
Slawomir Milczarek 2a1069eda2 Configure 2MB alignment for allocations on standard heap 64k
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-22 11:56:33 +01:00
Adam Cetnerowski 024012c66c ULT renaming: Utilities tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-18 12:29:46 +01:00
Igor Venevtsev cb13a5184d Check for supported CPU VA size in GfxPartition initialization
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-01-14 16:55:59 +01:00
Mateusz Jablonski 5a5ad64f5d Ocloc compile: support gen families exposed in help
fix typo in method name

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-11 19:11:56 +01:00
Igor Venevtsev 92f067b9aa Add CpuInfo::isCpuFlagPresent() method
Related-To: NEO-5276

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-01-05 14:23:08 +01:00
Pawel Cieslak fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
Adam Cetnerowski 199b4a2ec4 ULT renaming: Timer tests
Related-To: NEO-2236

Change-Id: Ib0127b8f5bab3ad1a3d1f1c986ba7897967f183e
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-10 19:36:26 +02:00
Adam Cetnerowski adde38a376 ULT renaming: Vec tests
Related-To: NEO-2236

Change-Id: I6cdbf4f334836fae8e0425360c8e0522ebe71b90
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-10 16:40:28 +02:00
Adam Cetnerowski 18d7cbbe90 ULT renaming: Reference Tracked Objects tests
Related-To: NEO-2236

Change-Id: I8b1aac04621cdd634655e2deb55c52eec9e7e610
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-10 14:03:41 +02:00
Jaroslaw Chodor 321f649854 Zebin support
Change-Id: I1e426ee2c5174fd0a4c51c1644cda467c2b88881
2020-08-07 11:48:41 +02:00
Adam Cetnerowski 753b98c4f3 ULT renaming: Perf Profiler tests
Related-To: NEO-2236

Change-Id: Icc2db783b08e314a977bd11fd1b657f75aeb35fe
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-04 20:34:11 +02:00
Adam Cetnerowski da3088e399 ULT renaming: Heap Allocator tests
Related-To: NEO-2236

Change-Id: Ie2485cb6ca48b9244af63de455baaea68a8b0e37
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-04 15:35:30 +02:00