gpu.cpp - cleanups