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
It is hard to work with a generic device type, e.g. D: Device<f32>, since some of the traits from Cpu/Cuda are not implemented for Device and not all of them are public. E.g. the ToDtypeKernel trait, such that I have to use something like AutoDevice when using to_dtype with other types than f32 and f64.
Would it be sensible to include all shared traits of Cpu/Cuda in Device or implement some new trait that includes everything?
The text was updated successfully, but these errors were encountered:
It is hard to work with a generic device type, e.g.
D: Device<f32>
, since some of the traits fromCpu
/Cuda
are not implemented forDevice
and not all of them are public. E.g. theToDtypeKernel
trait, such that I have to use something like AutoDevice when usingto_dtype
with other types than f32 and f64.Would it be sensible to include all shared traits of
Cpu
/Cuda
inDevice
or implement some new trait that includes everything?The text was updated successfully, but these errors were encountered: