mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
- 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>