Hello,
I've prepared a .pro file for use Qt and CUDA (v.3.2) in a linux machine (64bits). When I run the application into the CUDA profiler, the app executes 12 times but before present the results i get the next error:
Error in profiler data file '/home/myusername/development/qtspace/bin/temp_compute_profiler_0_0. csv' at line number 6 for column 'memory transfer size.
The main.cpp file is as simple as
#include <QtCore/QCoreApplication>
extern "C"
void runCudaPart();
int main(int argc, char *argv[])
{
runCudaPart();
return 0;
}
#include <QtCore/QCoreApplication>
extern "C"
void runCudaPart();
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
runCudaPart();
return 0;
}
To copy to clipboard, switch view to plain text mode
The fact is that if i remove the "QCoreApplication a(argc, argv);" line the CUDA Visual Profiler works as excepted and show all the results.
Any hints about this issue?
If you are wondering why i did a so simple main.cpp with Qt but without using Qt :P is that i would like improve the framework in the future to add a GUI.
Thanks in advance
Bookmarks