cleaner code and faster on compute 3.0 cards