debug pring gpu resources if specified