safer RTD stub
@@ -24,7 +24,8 @@ cudaError_t cudaGetLastError() {
// Initialization
-cudaError_t cudaDriverGetVersion(...) {
+cudaError_t cudaDriverGetVersion(int* driverVersion) {
+ *driverVersion = 0; // make the stub work safely without driver
return cudaSuccess;
}
