turi-code / SFrame

SFrame: Scalable tabular and graph data-structures built for out-of-core data analysis and machine learning.
BSD 3-Clause "New" or "Revised" License
890 stars 326 forks source link

get_parfor_thread_pool() missing implementation #356

Open jakelee8 opened 8 years ago

jakelee8 commented 8 years ago

While looking at the header defining parallel_for, I noticed that get_parfor_thread_pool does not have an implementation.

https://github.com/dato-code/SFrame/blob/master/oss_src/parallel/lambda_omp.hpp#L56

Something like this maybe?

thread_pool& get_parfor_thread_pool() {
    return thread_pool::get_instance();
}