fkallen

Results 3 comments of fkallen

I think the issue is in the usage of cross-system copy_n: https://github.com/NVIDIA/thrust/blob/main/thrust/system/detail/generic/binary_search.inl#L153 For example, for `lowerbound(0.5);` using `thrust::device` works if copy_n is replaced by ordinary assignments ``` thrust::detail::temporary_array d_value(exec,1); thrust::detail::temporary_array...

I made a mistake. I don't know why I wrote cuda_memory_resource. In my program the warning is for managed memory resource and limiting resource adapter.

You are describing `thrust::find_if` . https://nvidia.github.io/cccl/thrust/api/groups/group__searching.html#function-find-if