Home
last modified time | relevance | path

Searched refs:spinningWorkers (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/marl/src/
Dscheduler.cpp136 for (size_t i = 0; i < spinningWorkers.size(); i++) {
137 spinningWorkers[i] = -1;
176 auto i = --nextSpinningWorkerIdx % spinningWorkers.size(); in enqueue()
177 auto idx = spinningWorkers[i].exchange(-1); in enqueue()
218 auto idx = nextSpinningWorkerIdx++ % spinningWorkers.size(); in onBeginSpinning()
219 spinningWorkers[idx] = workerId; in onBeginSpinning()
/external/swiftshader/third_party/marl/include/marl/
Dscheduler.h496 std::array<std::atomic<int>, 8> spinningWorkers; variable