Commit 37dcd121 authored by incardon's avatar incardon

Fixing performance tests compilstion

parent 0cce8ce3
......@@ -100,7 +100,7 @@ if(SCAN_COVERTY)
endif()
if(TEST_PERFORMANCE)
set(DEFINE_TEST_PERFORMANCE "#define PERFORMANCE_TEST")
set(DEFINE_PERFORMANCE_TEST "#define PERFORMANCE_TEST")
endif()
if(CUDA_FOUND)
......
......@@ -34,6 +34,9 @@ if (CUDA_FOUND)
endif()
endif()
if(TEST_PERFORMANCE)
target_include_directories (pdata PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../openfpm_numerics/src/)
endif()
target_include_directories (pdata PUBLIC ${PARMETIS_ROOT}/include)
target_include_directories (pdata PUBLIC ${METIS_ROOT}/include)
target_include_directories (pdata PUBLIC ${CUDA_INCLUDE_DIRS})
......
......@@ -1780,7 +1780,7 @@ public:
{
getGlobalGridsInfo(gdb_ext_global);
this->template map_(dec,cd_sm,loc_grid,loc_grid_old,gdb_ext,gdb_ext_old,gdb_ext_global);
this->map_(dec,cd_sm,loc_grid,loc_grid_old,gdb_ext,gdb_ext_old,gdb_ext_global);
loc_grid_old.clear();
gdb_ext_old.clear();
......
......@@ -72,7 +72,7 @@ template<unsigned int dim> void cell_list_comp_reorder_random_benchmark(size_t c
//For different r_cut
for (size_t r = 0; r < cl_r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
//Cut-off radius
float r_cut = cl_r_cutoff.get(r);
......@@ -171,7 +171,7 @@ template<unsigned int dim> void cell_list_comp_reorder_hilbert_benchmark(size_t
//For different r_cut
for (size_t r = 0; r < cl_r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
//Cut-off radius
float r_cut = cl_r_cutoff.get(r);
......
......@@ -73,7 +73,7 @@ template<unsigned int dim> void cell_list_part_reorder_random_benchmark(size_t c
//For different r_cut
for (size_t r = 0; r < cl_r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
//Cut-off radius
float r_cut = cl_r_cutoff.get(r);
......@@ -190,7 +190,7 @@ template<unsigned int dim> void cell_list_part_reorder_hilbert_benchmark(size_t
// For different r_cut
for (size_t r = 0; r < cl_r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
// Cut-off radius
float r_cut = cl_r_cutoff.get(r);
......
......@@ -73,7 +73,7 @@ template<unsigned int dim> void vd_verlet_random_benchmark(size_t k_start,
//For different r_cut
for (size_t r = 0; r < r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
//Cut-off radius
float r_cut = r_cutoff.get(r);
......@@ -175,7 +175,7 @@ template<unsigned int dim> void vd_verlet_hilbert_benchmark(size_t k_start, size
// For different r_cut
for (size_t r = 0; r < r_cutoff.size(); r++ )
{
Vcluster & v_cl = create_vcluster();
Vcluster<> & v_cl = create_vcluster();
//Cut-off radius
float r_cut = r_cutoff.get(r);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment