rewrite gpu chapter