Switched to new device layer in cudaarithm module