cuda-api-wrappers
cuda-api-wrappers copied to clipboard
Use is_trivially_copyable more, and instead of is_trivially_copy_constructible
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.