You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: cuda::std::uninitialized_copy_n fails to copy thrust device vectors #5490
I believe we should support this. The actual problem is that device_ptr iss effectively a contiguous iterator but does not implement all the necessary things
Activity
miscco commentedon Aug 11, 2025
This is more or less intended.
The reason being that we should not try to take the address of a temporary, or try to remove it.
This is going to be nontrivial, as we need a generic way to sniff out that this type is a proxy iterator and then delete the underlying object
bernhardmgruber commentedon Aug 12, 2025
If you tell me this is intended behavior, then this is fine. We could diagnose this nicer though.
miscco commentedon Aug 12, 2025
I believe we should support this. The actual problem is that
device_ptriss effectively a contiguous iterator but does not implement all the necessary things