#include <iostream>
#include <type_traits>
#include <mutex>
#include <thread>
#include <execution>
#include <tbb/tbb.h>
Go to the source code of this file.
|
template<typename CallbackType , typename PolicyType , typename BeginType , typename EndType > |
bool | parallel_for (CallbackType &&callback, PolicyType &&policy, BeginType begin_index, EndType end_index) |
|
void | test_parallel_for () |
|
int | main () |
|
◆ main()
◆ parallel_for()
template<typename CallbackType , typename PolicyType , typename BeginType , typename EndType >
bool parallel_for |
( |
CallbackType && |
callback, |
|
|
PolicyType && |
policy, |
|
|
BeginType |
begin_index, |
|
|
EndType |
end_index |
|
) |
| |
◆ test_parallel_for()
void test_parallel_for |
( |
| ) |
|