目前taichi支持了atomic_add,atomic_sub,atomic_and,atomic_or,atomic_max,atomic_min,atomic_xor,但似乎无法实现CUDA支持的atomicExch(Exchange)和atomicCAS(Compare and Swap)操作,请问有支持atomic_exch/atomic_cas的计划或替代的实现方法吗?
1 Like
目前taichi支持了atomic_add,atomic_sub,atomic_and,atomic_or,atomic_max,atomic_min,atomic_xor,但似乎无法实现CUDA支持的atomicExch(Exchange)和atomicCAS(Compare and Swap)操作,请问有支持atomic_exch/atomic_cas的计划或替代的实现方法吗?