Which types should implement Send/Sync? #3
Labels
Enhancement
An enhancement or change to existing functionality/documentation.
Help Wanted
Input requested
Intermediate
Intermediate difficulty. May require knowledge of CUDA (or reading the Driver API docs)
I'm a bit fuzzy on how these traits behave and when it's appropriate to implement them. I think most of the types in RustaCUDA don't implement them since most of the types contain a raw pointer, but the CUDA API is thread safe so it should be safe to share most types between threads.
The text was updated successfully, but these errors were encountered: