1#ifndef TATAMI_PARALLELIZE_HPP 
    2#define TATAMI_PARALLELIZE_HPP 
    7#ifndef TATAMI_CUSTOM_PARALLEL 
   41template<
bool parallel_ = true, 
class Function_, 
typename Index_>
 
   42void parallelize(Function_ fun, 
const Index_ tasks, 
const int threads) {
 
   43    if constexpr(parallel_) {
 
   44#ifdef TATAMI_CUSTOM_PARALLEL 
   45        TATAMI_CUSTOM_PARALLEL(fun, tasks, threads);
 
 
void parallelize_range(int num_workers, Task_ num_tasks, Run_ run_task_range)
 
Flexible representations for matrix data.
Definition Extractor.hpp:15
 
void parallelize(Function_ fun, const Index_ tasks, const int threads)
Definition parallelize.hpp:42