def culaGetExecutingDevice():

    dev = ctypes.c_int()
    status = _libcula.culaGetExecutingDevice(ctypes.byref(dev))
    culaCheckStatus(status)
    return dev.value
Reports the id of the GPU device used by CULA.
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cula.py/culaGetExecutingDevice