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
Some members of the Stream class take DeviceMemory as an argument, others a CUdeviceptr. This should be consistent. In general, I think we should use wrapped objects as arguments, as this is the common case. And why is the DeviceMemory(CUdeviceptr) constructor explicit now? This prevents the user from passing a CUdeviceptr as an actual argument, which would otherwise have been converted implicitly to a DeviceMemory argument.
The text was updated successfully, but these errors were encountered:
Some members of the Stream class take DeviceMemory as an argument, others a CUdeviceptr. This should be consistent. In general, I think we should use wrapped objects as arguments, as this is the common case. And why is the DeviceMemory(CUdeviceptr) constructor explicit now? This prevents the user from passing a CUdeviceptr as an actual argument, which would otherwise have been converted implicitly to a DeviceMemory argument.
The text was updated successfully, but these errors were encountered: