Fixed swap in compute; __ldg works