Collected profile data are invalid

At the end of profiling, the visual profiler shows the following error

The start and end timestamps on 2 kernels, memcpys, and other collected profile data are invalid. Those profiling records have been dropped and will not be displayed in the timeline.

What should I do then? The cuda version is 10.