Commit c0dc2156 authored by Paul's avatar Paul
Browse files

Format

parent 8b756c8b
......@@ -232,7 +232,8 @@ void par_compile(std::size_t n, F f)
if(n == 0)
return;
std::cout << "Compile: " << n << std::endl;
auto d = std::min(n, value_of(MIGRAPHX_GPU_COMPILE_PARALLEL{}, std::thread::hardware_concurrency()));
auto d =
std::min(n, value_of(MIGRAPHX_GPU_COMPILE_PARALLEL{}, std::thread::hardware_concurrency()));
std::size_t grainsize = std::ceil(static_cast<double>(n) / d);
std::vector<parallel_work> pw(d);
std::size_t work = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment