Commit abf3d2d2 authored by incardon's avatar incardon

Adding method to Cuda gpu context

parent 5af6f33f
......@@ -133,6 +133,14 @@ namespace mgpu
return dev;
}
virtual int getNDevice()
{
int num_dev;
cudaGetDeviceCount(&num_dev);
return num_dev;
}
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment