QXRD  0.11.16
qxrdcudaprocessorplugin.cpp
Go to the documentation of this file.
2 #include <stdio.h>
3 //#include <cuda_runtime_api.h>
4 
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 
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