Skip to content

Atomic attempts

Churavy, Valentin requested to merge github/fork/leios/atomic_attempts into master

Created by: leios

This is a draft of an atomic update to Kernelabstractions.

I plan to put everything we need in the atomics.jl file (and corresponding CUDAKernels file); however, I cannot really test ROCM, so I might need to leave that to someone else.

Current roadmap (to be worked on throughout the week):

I am actually currently struggling with the final point because for some reason the macro I created (KernelAbstractions.@atomic) is only grabbing the first symbol of an expression and not the full expression. If everyone is happy enough with the atomic primitives, I might decide to leave the macro to future work (tm).

This is a step towards finalizing #7 (closed) and #276 (closed); however, I am not sure if it fixes them completely without the @atomic macro.

Merge request reports

Loading