【发布时间】:2017-08-31 21:48:46
【问题描述】:
我尝试在 CUDA 程序中测量时间。
为此我想使用:
#include <chrono>
我收到一个错误:
error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
我已尝试包含选项-std=c++11、-std=c++14、-std=c++17。
他们都没有工作。有什么建议吗?
【问题讨论】:
标签: c++11 compiler-errors cuda nvcc