QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
plugins
qxrdcudaprocessorplugin
qxrdcudaprocessorplugin.cpp
Go to the documentation of this file.
1
#include "
qxrdcudaprocessorplugin.h
"
2
#include <stdio.h>
3
//#include <cuda_runtime_api.h>
4
5
QxrdCudaProcessorPlugin::QxrdCudaProcessorPlugin
()
6
{
7
// printf("Cuda Processor Plugin\n");
8
9
// int nDevices;
10
11
// cudaGetDeviceCount(&nDevices);
12
13
// printf("%d CUDA devices found\n", nDevices);
14
}
15
16
QString
QxrdCudaProcessorPlugin::name
()
const
17
{
18
return
"CUDA Plugin"
;
19
}
20
21
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
22
#else
23
Q_EXPORT_PLUGIN2(qxrdcudaprocessorplugin,
QxrdCudaProcessorPlugin
)
24
#endif
qxrdcudaprocessorplugin.h
QxrdCudaProcessorPlugin
Definition:
qxrdcudaprocessorplugin.h:7
QxrdCudaProcessorPlugin::QxrdCudaProcessorPlugin
QxrdCudaProcessorPlugin()
Definition:
qxrdcudaprocessorplugin.cpp:5
QxrdCudaProcessorPlugin::name
QString name() const
Definition:
qxrdcudaprocessorplugin.cpp:16
Generated by
1.8.10