Open beepster4096 opened 2 years ago
Since it was an intentional choice to disable default features on vek, this should be put under its own feature flag in cust.
I need to investigate this a bit, vek was causing some issues because cargo's feature selection weirdness was causing weirdness when using it from cpu and gpu, causing it to try and pull in serde on the gpu with catastrophic results. So i had to use vek with no features in cust. This feature selection bug is a nightmare because it sometimes works based on what you build first.
Currently,
DeviceCopy
is only implemented for thevek
types not under any features. This is a problem if you need to use any of the feature gated types. For example, I am writing image data from a GPU kernel, so I need to have aDeviceBuffer<vek::Rgb<u8>>
to write to and copy from.