diff --git a/hpx/components/containers/partitioned_vector/partitioned_vector_component.hpp b/hpx/components/containers/partitioned_vector/partitioned_vector_component.hpp index 48aeeca297c3..05affc811d82 100644 --- a/hpx/components/containers/partitioned_vector/partitioned_vector_component.hpp +++ b/hpx/components/containers/partitioned_vector/partitioned_vector_component.hpp @@ -442,12 +442,9 @@ namespace hpx { namespace server HPX_REGISTER_VECTOR_DECLARATION_IMPL( \ BOOST_PP_CAT(__partitioned_vector_, BOOST_PP_CAT(type, name)), name) \ /**/ -#ifndef __CUDA_ARCH__ + #define HPX_REGISTER_PARTITIONED_VECTOR(...) \ - HPX_REGISTER_VECTOR_(__VA_ARGS__) -#else -#define HPX_REGISTER_PARTITIONED_VECTOR(...) -#endif + HPX_REGISTER_VECTOR_(__VA_ARGS__) \ /**/ #define HPX_REGISTER_VECTOR_(...) \ HPX_UTIL_EXPAND_(BOOST_PP_CAT( \