Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: map_rect_concurrent with parallel STL backends #1085

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cpplint
  • Loading branch information
wds15 committed Dec 16, 2018
commit ff0953e062439a415bc3e6c970d407b231744418
3 changes: 3 additions & 0 deletions test/unit/math/parallel/for_each_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

#include <gtest/gtest.h>

#include <string>
#include <vector>

struct for_each : public ::testing::Test {
const int N = 11;
std::vector<int> store;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
#define STAN_THREADS
#endif

#include <stan/math/prim/mat.hpp>
#include <stdlib.h>

#include <gtest/gtest.h>
#include <stan/math/prim/mat.hpp>

#include <test/unit/math/prim/mat/functor/hard_work.hpp>

#include <iostream>
#include <vector>
#include <string>
#include <stdlib.h>

// utility to set number of threads to use
void set_n_threads(std::size_t num_threads) {
Expand Down