After some more searching around I found a comment that Julia was going to add its own native @atomic macro in some version. I realized this might be the issue and replaced @atomic with CUDA.@atomic in the codes. They now all work for me.
1 Like