Skip to content

Inline point(x, y) & vector(x, y)

Jeremy Soller requested to merge alexheretic:inline-point into master

Created by: alexheretic

Adding a inline hint for point(x,y) & vector(x,y) yields a surprising difference to the gpu_cache benchmarks.

name                                                              control ns/iter  change ns/iter  diff ns/iter  diff %  speedup 
gpu_cache::cache_bench_tests::cache_bench_tolerance_1             1,820,219        1,828,535              8,316   0.46%   x 1.00 
gpu_cache::cache_bench_tests::cache_bench_tolerance_p1            4,310,574        3,901,391           -409,183  -9.49%   x 1.10 
gpu_cache::cache_bench_tests::cache_bench_tolerance_p1_multifont  3,781,790        3,500,211           -281,579  -7.45%   x 1.08 

Merge request reports