Kagamin Wrote: > Walter Bright Wrote: > > > A function that accesses shared data has to put in fences. There's no > > way to have the same code deal with shared and unshared code. > > Shared code perfectly deals with unshared data (it's not guaranteed that > shared data is accessed by more than one thread). In other words unshared > data is implicitly castable to shared.
Uh... this post was a little fast, ignore it, please.