Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Nov 28, 2024
1 parent 34e2613 commit 8ae9539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ int main(int argc, char** argv) {
// https://github.com/oneapi-src/oneTBB/blob/master/WASM_Support.md#limitations
#if defined(__EMSCRIPTEN__) && (MANIFOLD_PAR == 1)
int num_threads = tbb::this_task_arena::max_concurrency();
oneapi::tbb::global_control global_limit(tbb::global_control::thread_stack_size, 16 * 1024 * 1024);
oneapi::tbb::global_control global_limit(
tbb::global_control::thread_stack_size, 16 * 1024 * 1024);
std::atomic<int> barrier{num_threads};
tbb::parallel_for(
0, num_threads,
Expand Down

0 comments on commit 8ae9539

Please sign in to comment.