Function cuda_find_device_nothrow (o2scl)

O2scl : Function List

int o2scl::cuda_find_device_nothrow(int &dev_id, int &mode, int &major, int &minor, int verbose = 0)

Find the best GPU device and return the ID, compute mode, major, and minor version.