Created by: panyx0718
In cupti samples provided by Nvidia, only cuptiFlush is used. I can't find any places calling cuptiFinalize and this API can error out as not_implemented in some cuda installation.