Dropped markers and ranges

Dear all,

after profiling code augmented with nvtx3 markers and ranges using nvprof on a Titan RTX on Windows 10 using CUDA 10 and driver version 25.21.14.1917 (419.17) I get the following error message in NVIDIA Visual Profiler:

"
Dropped markers and ranges

34 markers and ranges could not be associated with timeline elements and will not be displayed.
"

How can I create ranges that are properly associated to timeline elements?
The utility class I currently use to created ranges looks like this:

class NVTXRange
{
	nvtxRangeId_t id;
public:
	NVTXRange(const std::string& rangeName)
	{
		id = nvtxRangeStart(rangeName.c_str());
	}
	~NVTXRange()
	{
 		nvtxRangeEnd(id);
	}
};

Best regards

Hello underscore_

Would it possible for you to share the sample code of the NVTX class that exhibits the issue?

Thanks

If anyone happens to stumble across a similar issue on Windows: Using the Nsight profiler yields results as expected.
As far as I can tell NVIDIA Visual Profiler is deprecated in more recent releases of CUDA.