Skip to content

Commit

Permalink
Include <iostream> when using it in examples and benchmaks (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop authored Oct 12, 2023
2 parents ae00f3d + 9b5fcb6 commit 6a3a418
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 0 deletions.
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>
#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

0 comments on commit 6a3a418

Please sign in to comment.