Commit 2117c83a authored by incardon's avatar incardon

Adding GPU test

parent a2f5c182
......@@ -74,3 +74,4 @@ install_dir
**/*.vtk
!**/test_data/*.vtk
*.csv
/Default/
openfpm_data @ 6f81e335
Subproject commit 261069dff2b91021d274d0db1fe71191633f1ef6
Subproject commit 6f81e335b5de00f03ad517e056925ea4ec52392f
openfpm_devices @ e57d9bd5
Subproject commit 2da3b22b477d8b94b60fb9eb5f1a4daacb6857b5
Subproject commit e57d9bd5a6281f4553a1eae7dfe6b4aadedcb87a
#ifndef GRID_DIST_UNIT_TEST_HPP
#define GRID_DIST_UNIT_TEST_HPP
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
......@@ -1758,4 +1756,3 @@ BOOST_AUTO_TEST_CASE( grid_dist_id_periodic_put_test )
BOOST_AUTO_TEST_SUITE_END()
#endif
LINKLIBS = $(HDF5_LDFLAGS) $(HDF5_LIBS) $(OPENMP_LDFLAGS) $(LIBHILBERT_LIB) $(METIS_LIB) $(PTHREAD_LIBS) $(OPT_LIBS) $(BOOST_LDFLAGS) $(BOOST_IOSTREAMS_LIB) $(CUDA_LIBS) $(PETSC_LIB) $(PARMETIS_LIB) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(BOOST_CHRONO_LIB) $(BOOST_TIMER_LIB) $(BOOST_SYSTEM_LIB) $(LIBIFCORE)
noinst_PROGRAMS = pdata
pdata_SOURCES = main.cpp pdata_performance.cpp Grid/grid_dist_id_unit_test.cpp lib/pdata.cpp test_multiple_o.cpp ../openfpm_devices/src/memory/HeapMemory.cpp ../openfpm_devices/src/memory/PtrMemory.cpp ../openfpm_vcluster/src/VCluster/VCluster.cpp ../openfpm_devices/src/Memleak_check.cpp
pdata_SOURCES = main.cpp pdata_performance.cpp Vector/vector_dist_gpu_unit_tests.cpp Grid/grid_dist_id_unit_test.cpp lib/pdata.cpp test_multiple_o.cpp ../openfpm_devices/src/memory/HeapMemory.cpp ../openfpm_devices/src/memory/PtrMemory.cpp ../openfpm_vcluster/src/VCluster/VCluster.cpp ../openfpm_devices/src/Memleak_check.cpp
pdata_CXXFLAGS = $(HDF5_CPPFLAGS) $(OPENMP_CFLAGS) $(AM_CXXFLAGS) $(LIBHILBERT_INCLUDE) $(PETSC_INCLUDE) $(CUDA_CFLAGS) $(INCLUDES_PATH) $(PARMETIS_INCLUDE) $(METIS_INCLUDE) $(BOOST_CPPFLAGS) $(H5PART_INCLUDE) -DPARALLEL_IO -Wno-unused-local-typedefs
pdata_CFLAGS = $(CUDA_CFLAGS)
pdata_LDADD = $(LINKLIBS) -lparmetis -lmetis
......
......@@ -524,8 +524,8 @@ BOOST_AUTO_TEST_CASE( vector_dist_symmetric_cell_list )
ret &= vd.getPropRead<1>(p) == vd.getPropRead<0>(p);
vd.getPropRead<3>(p).sort();
vd.getPropRead<4>(p).sort();
vd.getPropWrite<3>(p).sort();
vd.getPropWrite<4>(p).sort();
ret &= vd.getPropRead<3>(p).size() == vd.getPropRead<4>(p).size();
......
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