Michal Mrozek
2f847aa7bb
Optimize zeMemGetAllocProperties.
- No functional changes only performance optimizations.
- add const modifiers
- add early returns
- remove not needed code
- do fast lookup for aligned pointers
- fix incorrect tests
+21% improvement in
./api_overhead_benchmark_l0 --test=GetMemoryProperties
--api=l0 --AmountOfUsmAllocations=100 --iterations=1000
+32% improvement in
./api_overhead_benchmark_l0 --test=GetMemoryProperties
--api=l0 --AmountOfUsmAllocations=1000 --iterations=1000
Related-To: NEO-7676
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2023-01-30 18:00:57 +01:00
..
2022-08-16 14:36:33 +02:00
2022-12-16 12:36:27 +01:00
2022-11-23 16:19:34 +01:00
2023-01-05 10:33:47 +01:00
2023-01-13 09:20:35 +01:00
2022-07-09 01:21:56 +02:00
2022-11-30 20:59:02 +01:00
2023-01-05 10:33:47 +01:00
2023-01-05 10:33:47 +01:00
2022-09-19 21:53:40 +02:00
2023-01-20 05:17:10 +01:00
2023-01-25 18:23:23 +01:00
2022-12-29 15:12:37 +01:00
2023-01-13 09:20:35 +01:00
2022-06-02 12:46:15 +02:00
2023-01-05 10:33:47 +01:00
2022-08-16 14:36:33 +02:00
2022-08-11 12:53:19 +02:00
2022-08-11 12:53:19 +02:00
2022-12-21 05:38:37 +01:00
2023-01-17 10:54:37 +01:00
2022-12-23 12:36:51 +01:00
2023-01-25 18:23:23 +01:00
2023-01-12 21:05:02 +01:00
2023-01-30 18:00:57 +01:00