mercredi 5 avril 2017

Measuring time in CUDA with

I try to measure time in a CUDA program.

For that purpose I want to use:

#include <chrono>

I receive an error though:

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.

I have tried to inlcude the options -std=c++11, -std=c++14, -std=c++17.

None of them worked. Any suggestions?

Aucun commentaire:

Enregistrer un commentaire