debug_out overwrites, -DCUDA ifdefCUDA stuff added