Skip to content
  • Kenneth Moreland's avatar
    Do not use volatile when calling CUDA atomicCAS · d1dba170
    Kenneth Moreland authored
    Although it makes sense to assume a pointer is `volatile` when doing an
    atomic operation, the arguments to the `atomicCAS` overloads take
    regular pointers. The overload resolution can fail if you use the
    `volatile` keyword.
    d1dba170