Skip to content
fn

parallel_workers

→std::size_t
int parallel_workers()

Number of chunks a parallel loop may split into on this machine.

Returns

std::size_t

The logical core count, at least 1.