cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Use is_trivially_copyable more, and instead of is_trivially_copy_constructible

Open eyalroz opened this issue 1 year ago • 0 comments

The appropriate condition to check when memcpy'ing typed data is whether or not it is trivially copyable - not just trivially copy-ct'able. But we seem to be checking for the latter, if anything, in several places.

eyalroz avatar Apr 13 '24 19:04 eyalroz