Removal of all CUDA pointers in main