NVBIO
|
This module implements basic host thread and work-queue objects.
Classes | |
struct | nvbio::Pipeline |
class | nvbio::ThreadBase |
class | nvbio::Thread< DerivedThreadType > |
class | nvbio::Mutex |
class | nvbio::ScopedLock |
class | nvbio::WorkQueue< WorkItemT, ProgressCallbackT > |
Work queue class. More... | |
Functions | |
uint32 | nvbio::num_physical_cores () |
uint32 | nvbio::num_logical_cores () |
uint32 | nvbio::balance_batch_size (uint32 batch_size, uint32 total_count, uint32 thread_count) |
return a number close to batch_size that achieves best threading balance More... | |
void | nvbio::yield () |
|
inline |
uint32 nvbio::num_logical_cores | ( | ) |
Definition at line 118 of file threads.cpp.
uint32 nvbio::num_physical_cores | ( | ) |
Definition at line 53 of file threads.cpp.
void nvbio::yield | ( | ) |
Definition at line 310 of file threads.cpp.