cuptiActivityFlushPeriod confusion

The SPEC says “Periodic flush can return only those activity buffers which are full and have all the activity records completed”.
But that is the original behavior (flush buffer when it is full and completed).
So what does cuptiActivityFlushPeriod API mean ? How to use it ?

Hi,

Flush using the API cuptiActivityFlushAll can return incomplete records and/or half full buffers depending on the input flag. While periodic flush done using the API cuptiActivityFlushPeriod is guaranteed to return buffers which are full and have all records completed.
Section Flushing of the activity buffers at 2. Usage — Cupti 12.6 documentation has more details.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.