Commit 990df9b8 authored by incardon's avatar incardon

Fixing AddPoint with margins

parent 68642645
Pipeline #2402 failed with stages
in 10 minutes and 58 seconds
......@@ -107,7 +107,6 @@ BOOST_AUTO_TEST_CASE (gpu_p2m)
openfpm::vector_gpu<Point<3,float>> pos;
openfpm::vector_gpu<aggregate<float,float[3]>> prop;
pos.resize(100);
prop.resize(100);
......
......@@ -100,7 +100,7 @@ template<unsigned int dim ,typename T> class Point
* \param p Point
*
*/
template <typename S> inline Point(const Point<dim,S> & p)
template <typename S> __device__ __host__ inline Point(const Point<dim,S> & p)
{
for (size_t i = 0 ; i < dim ; i++)
{get(i) = static_cast<S>(p.get(i));}
......
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