Skip to content

Commit

Permalink
Make visible action registrations only during the host compilation step
Browse files Browse the repository at this point in the history
  • Loading branch information
atrantan committed Jan 11, 2017
1 parent d3949ad commit 0d443eb
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,12 @@ 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__) \
HPX_REGISTER_VECTOR_(__VA_ARGS__)
#else
#define HPX_REGISTER_PARTITIONED_VECTOR(...)
#endif
/**/
#define HPX_REGISTER_VECTOR_(...) \
HPX_UTIL_EXPAND_(BOOST_PP_CAT( \
Expand Down

0 comments on commit 0d443eb

Please sign in to comment.