Enable remove test
MODIFY
testing/CMakeLists.txt
testing/CMakeLists.txt
@@ -162,7 +162,7 @@ add_thrust_test("random")
add_thrust_test("reduce")
add_thrust_test("reduce_by_key")
add_thrust_test("reduce_large")
-#add_thrust_test("remove")
+add_thrust_test("remove")
add_thrust_test("replace")
add_thrust_test("reverse")
add_thrust_test("reverse_iterator")

MODIFY
testing/remove.cu
testing/remove.cu
@@ -68,6 +68,7 @@ DECLARE_VECTOR_UNITTEST(TestRemoveSimple);
template<typename ForwardIterator,
typename T>
+__host__ __device__
ForwardIterator remove(my_system &system,
ForwardIterator first,
ForwardIterator,
@@ -91,6 +92,7 @@ DECLARE_UNITTEST(TestRemoveDispatchExplicit);
template<typename ForwardIterator,
typename T>
+__host__ __device__
ForwardIterator remove(my_tag,
ForwardIterator first,
ForwardIterator,
@@ -144,6 +146,7 @@ DECLARE_VECTOR_UNITTEST(TestRemoveCopySimple);
template<typename InputIterator,
typename OutputIterator,
typename T>
+__host__ __device__
OutputIterator remove_copy(my_system &system,
InputIterator,
InputIterator,
@@ -173,6 +176,7 @@ DECLARE_UNITTEST(TestRemoveCopyDispatchExplicit);
template<typename InputIterator,
typename OutputIterator,
typename T>
+__host__ __device__
OutputIterator remove_copy(my_tag,
InputIterator,
InputIterator,
@@ -224,6 +228,7 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestRemoveIfSimple);
template<typename ForwardIterator,
typename Predicate>
+__host__ __device__
ForwardIterator remove_if(my_system &system,
ForwardIterator first,
ForwardIterator,
@@ -247,6 +252,7 @@ DECLARE_UNITTEST(TestRemoveIfDispatchExplicit);
template<typename ForwardIterator,
typename Predicate>
+__host__ __device__
ForwardIterator remove_if(my_tag,
ForwardIterator first,
ForwardIterator,
@@ -305,6 +311,7 @@ DECLARE_VECTOR_UNITTEST(TestRemoveIfStencilSimple);
template<typename ForwardIterator,
typename InputIterator,
typename Predicate>
+__host__ __device__
ForwardIterator remove_if(my_system &system,
ForwardIterator first,
ForwardIterator,
@@ -334,6 +341,7 @@ DECLARE_UNITTEST(TestRemoveIfStencilDispatchExplicit);
template<typename ForwardIterator,
typename InputIterator,
typename Predicate>
+__host__ __device__
ForwardIterator remove_if(my_tag,
ForwardIterator first,
ForwardIterator,
@@ -389,6 +397,7 @@ DECLARE_INTEGRAL_VECTOR_UNITTEST(TestRemoveCopyIfSimple);
template<typename InputIterator,
typename OutputIterator,
typename Predicate>
+__host__ __device__
InputIterator remove_copy_if(my_system &system,
InputIterator first,
InputIterator,
@@ -483,6 +492,7 @@ template<typename InputIterator1,
typename InputIterator2,
typename OutputIterator,
typename Predicate>
+__host__ __device__
OutputIterator remove_copy_if(my_system &system,
InputIterator1,
InputIterator1,
@@ -515,6 +525,7 @@ template<typename InputIterator1,
typename InputIterator2,
typename OutputIterator,
typename Predicate>
+__host__ __device__
OutputIterator remove_copy_if(my_tag,
InputIterator1,
InputIterator1,

Enable remove test