Annotate destroy_range with __host__ __device__.