Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
headlessclayton
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
headlessclayton
7y ago
Marl does exactly this. The scheduler guarantees that once a task is started on a particular thread, it will only resume on that same thread. This allows us to save a bare minimum of registers and state. Some more info here: https:/&#
2.
▲
by
headlessclayton
7y ago
> I wish you could create a version based setJmp/longJmp if instrinsics weren't available (say on a different processor, like AVR). That could really help! There is an implementation that uses ucontext, which you can enable wit
3.
▲
by
headlessclayton
7y ago
Author here. Marl was originally written for SwiftShader¹ a pure-software implementation of the Vulkan graphics API, which needs to run on desktop and embedded devices, with CPUs ranging from 2 to many cores. SwiftShader executes a number o
4.
▲
A hybrid thread / fiber task scheduler written in C++ 11
(github.com)
107 points
by
headlessclayton
7y ago
|
33 comments