Annotate the execution_policy-based logical algorithms with __host__ __device__.