Home
last modified time | relevance | path

Searched refs:SpinBarrier (Results 1 – 7 of 7) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSpinBarrier.cpp34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier() function in de::SpinBarrier
44 SpinBarrier::~SpinBarrier (void) in ~SpinBarrier()
49 void SpinBarrier::reset (deUint32 numThreads) in reset()
60 inline SpinBarrier::WaitMode getWaitMode (SpinBarrier::WaitMode requested, deUint32 numCores, deInt… in getWaitMode()
62 if (requested == SpinBarrier::WAIT_MODE_AUTO) in getWaitMode()
63 …return ((deUint32)numThreads <= numCores) ? SpinBarrier::WAIT_MODE_BUSY : SpinBarrier::WAIT_MODE_Y… in getWaitMode()
68 inline void wait (SpinBarrier::WaitMode mode) in wait()
70 DE_ASSERT(mode == SpinBarrier::WAIT_MODE_YIELD || mode == SpinBarrier::WAIT_MODE_BUSY); in wait()
72 if (mode == SpinBarrier::WAIT_MODE_YIELD) in wait()
76 void SpinBarrier::sync (WaitMode requestedMode) in sync()
[all …]
DdeSpinBarrier.hpp45 class SpinBarrier class
57 SpinBarrier (deInt32 numThreads);
58 ~SpinBarrier (void);
73 SpinBarrier (const SpinBarrier&);
74 SpinBarrier operator= (const SpinBarrier&);
DdeAppendList.cpp59 SpinBarrier barrier;
84 m_shared->barrier.sync(SpinBarrier::WAIT_MODE_AUTO); in run()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp547 void start (de::SpinBarrier* groupBarrier);
585 m_barrier->removeThread(de::SpinBarrier::WAIT_MODE_AUTO); in run()
589 de::SpinBarrier* m_barrier;
592 void ThreadGroupThread::start (de::SpinBarrier* groupBarrier) in start()
600 m_barrier->sync(de::SpinBarrier::WAIT_MODE_AUTO); in barrier()
641 de::SpinBarrier m_barrier;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp547 void start (de::SpinBarrier* groupBarrier);
585 m_barrier->removeThread(de::SpinBarrier::WAIT_MODE_AUTO); in run()
589 de::SpinBarrier* m_barrier;
592 void ThreadGroupThread::start (de::SpinBarrier* groupBarrier) in start()
600 m_barrier->sync(de::SpinBarrier::WAIT_MODE_AUTO); in barrier()
641 de::SpinBarrier m_barrier;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp125 de::SpinBarrier m_barrier;
134 void start (de::SpinBarrier* groupBarrier);
152 de::SpinBarrier* m_barrier;
201 void ThreadGroupThread::start (de::SpinBarrier* groupBarrier) in start()
226 m_barrier->removeThread(de::SpinBarrier::WAIT_MODE_AUTO); in run()
231 m_barrier->sync(de::SpinBarrier::WAIT_MODE_AUTO); in barrier()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiObjectManagementTests.cpp125 de::SpinBarrier m_barrier;
134 void start (de::SpinBarrier* groupBarrier);
152 de::SpinBarrier* m_barrier;
201 void ThreadGroupThread::start (de::SpinBarrier* groupBarrier) in start()
226 m_barrier->removeThread(de::SpinBarrier::WAIT_MODE_AUTO); in run()
231 m_barrier->sync(de::SpinBarrier::WAIT_MODE_AUTO); in barrier()