0

How can I read-modify-write the same variable from multiple GPU threads? In C++AMP I used the standard lib's compare-and-set function, but I haven't found an example in AleaGPU.

I know the goal is to avoid such things, but without getting into much detail I'll say its pretty necessary for my code.

Digiproc
  • 215
  • 1
  • 9

1 Answers1