nvcc release V9.0.176 has problems to parse in-class member initializers.
following code breaks with error :
error: »tp_std« was not declared
std::chrono::steady_clock::time_point tp_{ (std::chrono::steady_clock::time_point::max)() };
If you would like to file a bug report with NVIDIA, please use the bug reporting form linked from the registered developer website. These forums are a platform where users help users, they are not an official NVIDIA bug reporting channel. On occasion an issue reported in the forums may catch the attention of a relevant NVIDIA employee who happens to be present, but in general that is not a safe assumption.
NVIDIA’s bug reporting system has a detector for “malicious” content, and when the detector triggers it results in the kind of obscure error you encountered. Unfortunately, the detector is prone to false positives. That is a problem that has existed for half a dozen years by now …
The strategy I recommend is to file a minimal bug report, pointing out that supporting files will be added later. Then add files with source code etc one by one. I know, annoying.
Thanks for making an effort to file a bug report. Apologies for the difficulty. Just agreeing here with what njuffa said. Also, if you want to file a bug report with almost no information, and give me the bug number returned to you by the system, I will clean up and update the report with the information you have given here.
You won’t see any changes in your view of the bug, but it has been assigned to a suitable starting point in our system, and I have added the reproducer code here as well as instructions for repro.