Refactor codes when GPU_CODEGEN is defined