Pedro J. Estébanez
Pedro J. Estébanez
5 approvals! 😃
> Is the AMD Zen `MWAITX` instruction worth using in this case? I didn't know about it, to be honest. However, judging by the spec, it seems that `MONITORX`-`MWAITX` make...
~I've removed the arch-dependant pieces and used `std::this_thread::yield` instead. That should bring the appropriate semantics to all the supported platforms already.~
I'm bumping this because I've added benchmark results to the description.
Going back to the CPU pause approach, once realized thread yield is not appropriate for this. I've also applied @bruvzg's suggestions. In the future we may want to get rid...
@yretenai. thank you for your findings. Can you give me stack traces of the crashes? I'm wondering if there are cases where the `SpinLock` ends up misaligned for some reason....
Per the spec, `glLinkProgram()` and `glProgramBinary()` are mutually exclusive. On the one hand, if calling `glLinkProgram()` helps on some drivers, it's still good to do that, adding a comment about...
Just here to support the `Vector::from_list()` API style. Let's see if we can find a good approach regarding compile times.
I'm also wondering if, since this is about optimization, this PR should try to leverage move semantics another PR is adding. Finally, I'm also wondering if `restrict` would help the...
> I don't think it is necessary. Since `erase` is often used in ThreadPool (didn't check, but maybe it is faster in normal map), and in d3d12 `BarrierRequest` weighs a...