Skip to content

Commit

Permalink
Some renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed May 3, 2024
1 parent 170087a commit 94c8f16
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions benchmarks/bvh_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set(BENCHMARKS_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)
set(ARBORX_BENCHMARK_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)
set(UNIT_TESTS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/test)

add_executable(ArborX_Benchmark_BoundingVolumeHierarchy.exe bvh_driver.cpp)
target_link_libraries(ArborX_Benchmark_BoundingVolumeHierarchy.exe ArborX::ArborX benchmark::benchmark Boost::program_options)
target_include_directories(ArborX_Benchmark_BoundingVolumeHierarchy.exe PRIVATE ${BENCHMARKS_UTILS_INCLUDE_DIR} ${UNIT_TESTS_INCLUDE_DIR})
target_include_directories(ArborX_Benchmark_BoundingVolumeHierarchy.exe PRIVATE ${ARBORX_BENCHMARK_UTILS_INCLUDE_DIR} ${UNIT_TESTS_INCLUDE_DIR})
add_test(NAME ArborX_Benchmark_BoundingVolumeHierarchy COMMAND ArborX_Benchmark_BoundingVolumeHierarchy.exe --buffer=0 --benchmark_color=true)
if(ARBORX_PERFORMANCE_TESTING)
target_compile_definitions(ArborX_Benchmark_BoundingVolumeHierarchy.exe PRIVATE ARBORX_PERFORMANCE_TESTING)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bvh_driver/benchmark_registration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#ifndef BENCHMARK_REGISTRATION_HPP
#define BENCHMARK_REGISTRATION_HPP

#include <ArborXBenchmark_PointClouds.hpp>
#include <ArborX_Point.hpp>
#include <ArborX_Predicates.hpp>

Expand All @@ -21,7 +22,6 @@
#include <cmath> // cbrt

#include <benchmark/benchmark.h>
#include <point_clouds.hpp>

struct Spec
{
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bvh_driver/bvh_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* SPDX-License-Identifier: BSD-3-Clause *
****************************************************************************/

#include <ArborXBenchmark_PointClouds.hpp>
#include <ArborX_BoostRTreeHelpers.hpp>
#include <ArborX_LinearBVH.hpp>
#include <ArborX_Version.hpp>
Expand All @@ -21,7 +22,6 @@
#include <iostream>

#include "benchmark_registration.hpp"
#include <point_clouds.hpp>

#ifdef ARBORX_PERFORMANCE_TESTING
#include <mpi.h>
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/distributed_tree_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(BENCHMARKS_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)
set(ARBORX_BENCHMARK_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)

add_executable(ArborX_Benchmark_DistributedTree.exe distributed_tree_driver.cpp)
target_link_libraries(ArborX_Benchmark_DistributedTree.exe ArborX::ArborX Boost::program_options)
target_include_directories(ArborX_Benchmark_DistributedTree.exe PRIVATE ${BENCHMARKS_UTILS_INCLUDE_DIR})
target_include_directories(ArborX_Benchmark_DistributedTree.exe PRIVATE ${ARBORX_BENCHMARK_UTILS_INCLUDE_DIR})
add_test(NAME ArborX_Benchmark_DistributedTree COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:ArborX_Benchmark_DistributedTree.exe> ${MPIEXEC_POSTFLAGS})
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* SPDX-License-Identifier: BSD-3-Clause *
****************************************************************************/

#include <ArborXBenchmark_TimeMonitor.hpp>
#include <ArborX_DistributedTree.hpp>
#include <ArborX_PairIndexRank.hpp>
#include <ArborX_Version.hpp>
Expand All @@ -23,7 +24,6 @@
#include <vector>

#include <mpi.h>
#include <time_monitor.hpp>

struct HelpPrinted
{};
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/triangulated_surface_distance/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(BENCHMARKS_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)
set(ARBORX_BENCHMARK_UTILS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/benchmarks/utils)

add_executable(ArborX_Benchmark_TriangulatedSurfaceDistance.exe triangulated_surface_distance.cpp)
target_include_directories(ArborX_Benchmark_TriangulatedSurfaceDistance.exe PRIVATE ${BENCHMARKS_UTILS_INCLUDE_DIR})
target_include_directories(ArborX_Benchmark_TriangulatedSurfaceDistance.exe PRIVATE ${ARBORX_BENCHMARK_UTILS_INCLUDE_DIR})
target_link_libraries(ArborX_Benchmark_TriangulatedSurfaceDistance.exe ArborX::ArborX Boost::program_options)
add_test(NAME ArborX_Benchmark_TriangulatedSurfaceDistance COMMAND ArborX_Benchmark_TriangulatedSurfaceDistance.exe)
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
****************************************************************************/

#include <ArborX.hpp>
#include <ArborXBenchmark_PointClouds.hpp>
#include <ArborX_HyperTriangle.hpp>
#include <ArborX_Version.hpp>

Expand All @@ -22,8 +23,6 @@
#include <iostream>
#include <string>

#include <point_clouds.hpp>

using Point = ArborX::ExperimentalHyperGeometry::Point<3>;
using Triangle = ArborX::ExperimentalHyperGeometry::Triangle<3>;

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 94c8f16

Please sign in to comment.