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

Fixing CUDA in develop for expressions

parent e471a1e3
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "Vector/cuda/vector_dist_cuda_funcs.cuh" #include "Vector/cuda/vector_dist_cuda_funcs.cuh"
#include "Vector/util/vector_dist_funcs.hpp" #include "Vector/util/vector_dist_funcs.hpp"
#include "Decomposition/CartDecomposition.hpp" #include "Decomposition/CartDecomposition.hpp"
#include "util/cuda/scan_cuda.cuh" //#include "util/cuda/scan_cuda.cuh"
#include "Vector/vector_dist.hpp" #include "Vector/vector_dist.hpp"
#include "util/cuda/scan_ofp.cuh" #include "util/cuda/scan_ofp.cuh"
......
...@@ -194,6 +194,11 @@ public: ...@@ -194,6 +194,11 @@ public:
return v_prp.template get<id>(vec_key.getKey()); return v_prp.template get<id>(vec_key.getKey());
} }
__device__ __host__ int getOriginKey(int vec_key)
{
return vec_key;
}
/*! \brief Get the property of an element /*! \brief Get the property of an element
* *
* see the vector_dist iterator usage to get an element key * see the vector_dist iterator usage to get an element key
......
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