SingleStepWarp interface in CUDA debugger API

Hi all,

I am now reading inside cuda-gdb source code and found out when single-stepping, cuda-gdb just invoke SingleStepWarp() API but not resumeDevice() API and then directly invoke suspendDevice(). I was wondering will singleStepWarp() resume the device? And will singleStepWarp() finish execution the single-step and return?

Thanks