changes to Atomic.hs and ExamplesNoCUDA.hs