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

Include <iostream> when using it in examples and benchmaks #956

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions benchmarks/brute_force_vs_bvh/brute_force_vs_bvh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include <boost/program_options.hpp>

#include <iostream>

int main(int argc, char *argv[])
{
Kokkos::ScopeGuard guard(argc, argv);
Expand Down
1 change: 1 addition & 0 deletions benchmarks/dbscan/ArborX_DBSCANVerification.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <Kokkos_Core.hpp>

#include <iostream>
aprokop marked this conversation as resolved.
Show resolved Hide resolved
#include <set>
#include <stack>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions benchmarks/dbscan/data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <ArborX_Exception.hpp>
#include <ArborX_HyperPoint.hpp>

#include <iostream>
#include <random>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <chrono>
#include <cmath> // sqrt, cbrt
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/union_find/union_find.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include <boost/program_options.hpp>

#include <iostream>

#include <benchmark/benchmark.h>

struct UnweightedEdge
Expand Down
2 changes: 2 additions & 0 deletions examples/brute_force/brute_force.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include <boost/program_options.hpp>

#include <iostream>

struct Dummy
{
int count;
Expand Down
1 change: 1 addition & 0 deletions examples/molecular_dynamics/example_molecular_dynamics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <Kokkos_Random.hpp>

#include <iostream>
#include <type_traits>

template <class MemorySpace>
Expand Down
2 changes: 2 additions & 0 deletions examples/simple_intersection/example_intersection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <Kokkos_Core.hpp>

#include <iostream>

// Perform intersection queries using the same objects for the queries as the
// objects used in BVH construction that are located on a regular spaced
// three-dimensional grid.
Expand Down
2 changes: 2 additions & 0 deletions examples/triangle_intersection/triangle_intersection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include <Kokkos_Core.hpp>

#include <iostream>

// Perform intersection queries using 2D triangles on a regular mesh as
// primitives and intersection with points as queries. One point per triangle.
// __________
Expand Down
1 change: 1 addition & 0 deletions examples/viz/tree_visualization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <algorithm>
#include <fstream>
#include <iostream>
#include <random>

// FIXME: this is a temporary place for loadPointCloud and writePointCloud
Expand Down