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
The move constructor and move assignment operators of Trust's vector types (host_vector, device_vector and vector_base) are not noexcept so their use in conjunction with the standard library may be unnecessarily pessimized (the standard library may copy types which's move operations are not noexcept to uphold exception safety guarantees). The same goes for the corresponding swap operations.
Furthermore, contiguous_storage only has a move assignment, but no move constructor, which is odd as well.
How to Reproduce
N/A
Expected behavior
N/A
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered:
Is this a duplicate?
Type of Bug
Performance
Component
Thrust
Describe the bug
The move constructor and move assignment operators of Trust's vector types (
host_vector
,device_vector
andvector_base
) are notnoexcept
so their use in conjunction with the standard library may be unnecessarily pessimized (the standard library may copy types which's move operations are notnoexcept
to uphold exception safety guarantees). The same goes for the correspondingswap
operations.Furthermore,
contiguous_storage
only has a move assignment, but no move constructor, which is odd as well.How to Reproduce
N/A
Expected behavior
N/A
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: