Skip to content
Snippets Groups Projects
Commit f8a6baa1 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing last leak

parent ba7fd75c
No related branches found
No related tags found
No related merge requests found
Pipeline #2202 passed
openfpm_data @ 98052358
Subproject commit b3e3adc63f0f7b95fc8b2b44f2368c060592444c
Subproject commit 9805235894b52cae214594c8021a960bb18bc0b0
......@@ -748,6 +748,9 @@ BOOST_AUTO_TEST_CASE( vector_dist_multiphase_kernel_cl_test )
for (size_t i = 0 ; i < phases.size() ; i++)
{
cl_ph.add(phases.get(i).getCellListGPU(0.1));
auto & test_cl = cl_ph.get(1);
int debug = 0 ;
debug++;
}
//
......
......@@ -27,6 +27,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_multiphase_cell_list_test )
// Boundary conditions
size_t bc[3]={PERIODIC,PERIODIC,PERIODIC};
int rank_test = create_vcluster().rank();
float r_cut = 51.0;
// ghost, big enough to contain the interaction radius
......
......@@ -85,6 +85,10 @@ public:
//! Indicate this structure has a function to check the device pointer
typedef int yes_has_check_device_pointer;
vector_dist_ker()
:g_m(0)
{}
vector_dist_ker(int g_m, const openfpm::vector_gpu_ker<Point<dim,St>,layout_base> & v_pos,
const openfpm::vector_gpu_ker<typename apply_transform<layout_base,prop>::type,layout_base> & v_prp)
:g_m(g_m),v_pos(v_pos),v_prp(v_prp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment