#include <parallel_for_api.h>
Definition at line 9 of file parallel_for_api.h.
◆ ParallelForApi()
| nndeploy::thread_pool::ParallelForApi::ParallelForApi |
( |
| ) |
|
|
default |
◆ ~ParallelForApi()
| virtual nndeploy::thread_pool::ParallelForApi::~ParallelForApi |
( |
| ) |
|
|
virtualdefault |
◆ getThreadNum()
| virtual int nndeploy::thread_pool::ParallelForApi::getThreadNum |
( |
| ) |
|
|
pure virtual |
◆ parallelFor()
| virtual int nndeploy::thread_pool::ParallelForApi::parallelFor |
( |
const base::Range & |
range, |
|
|
const ParallelLoopBody & |
body, |
|
|
double |
nstripes = -1.0 |
|
) |
| |
|
pure virtual |
◆ setThreadNum()
| virtual void nndeploy::thread_pool::ParallelForApi::setThreadNum |
( |
int |
num | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nndeploy-zh/checkouts/stable/framework/include/nndeploy/thread_pool/parallel_for_api.h