**Describe the bug** `cu::DeviceMemory d_a(h_a);`, where `h_a` is a `cu::HostMemory` object, does not set the `size` attribute of the`DeviceMemory` object. **Expected behavior** `size` should be set to the `size` value of the `HostMemory` object.
Describe the bug
cu::DeviceMemory d_a(h_a);, whereh_ais acu::HostMemoryobject, does not set thesizeattribute of theDeviceMemoryobject.Expected behavior
sizeshould be set to thesizevalue of theHostMemoryobject.