Annotate execution_policy-based swap_ranges with __host__ __device__.