Chodor, Jaroslaw
0bff9def3b
feature: New allocators for opaque arrays
...
Adds fast allocators for opaque objects of uniform size.
Related-To: NEO-13406
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-03-20 21:59:44 +01:00
Chodor, Jaroslaw
beedf709bc
feature: LookupArray findGreaterEqual
...
Adding helpers for find first greater equal
value in lookup array. Useful when finding
minimum SLM encoding that satisfies requirements.
Related-To: NEO-12747
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-01-27 13:02:02 +01:00
Mateusz Jablonski
36194c4e7d
refactor: correct variable namings
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-29 23:49:03 +01:00
Mateusz Jablonski
140532f8b6
fix: fix issues with clang-tidy on Windows
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-16 12:30:11 +01:00
Mateusz Jablonski
3845eb3b90
fix: accept more than 16 root devices
...
Related-To: GSD-5892
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-06 10:13:25 +02:00
Mateusz Jablonski
4f72835b7d
fix: create dedicated class for root device indices to store unique values
...
remove method to removing duplicates from StackVec as the method
implicitly sorted the vector
Related-To: GSD-4692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-06-12 22:24:06 +02:00
Patryk Wrobel
4395e0c3a1
Use EXPECT_THROW instead of handmade try-catch in tests
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-08 15:32:52 +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
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
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
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
Adam Cetnerowski
5b26d9be17
ULT renaming: Container tests
...
Related-To: NEO-2236
Change-Id: Ifdc673f71a1dbb4d2e61496c0d230077a5530d06
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-30 08:46:32 +02:00
Jaroslaw Chodor
d65cdab453
Zebin - yaml parser
...
Change-Id: If8b5bcd68b7d39bfd3fb53b619f5de973b059bff
2020-07-30 07:26:44 +02:00
Filip Hazubski
851e894ab6
Update device caps initialization
...
Change-Id: I2488b2a07463efefaba03ff1d979cd7034f54136
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-14 19:18:39 +02:00
Jablonski, Mateusz
af33d42e88
Correct StackVec test
...
Change-Id: Iadd7f1ef075b975beeddc503482b33e67fa2875b
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-16 18:02:06 +01:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 10:22:30 +01:00
Mateusz Jablonski
ee5ebde417
Add absolute include paths
...
Change-Id: I5b8631603b0f0b2ed8eb1a61f7e7770b27867423
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 01:21:00 +01:00
kamdiedrich
9e97b42ee6
Reorganization directory structure [4/n]
...
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00