()
return dev.value
Reports the id of the GPU device used by CULA.

    Returns
    -------
    dev : int
       Device id.
Reports the id of the GPU device used by CULA.
Reports the id of the GPU device used by CULA .
def culaGetExecutingDevice():
    """
    Reports the id of the GPU device used by CULA.

    Returns
    -------
    dev : int
       Device id.
    """

    dev = ctypes.c_int()
    status = _libcula.culaGetExecutingDevice(ctypes.byref(dev))
    culaCheckStatus(status)
    return dev.value
def culaGetExecutingDevice ( ) : dev = ctypes . c_int ( ) status = _libcula . culaGetExecutingDevice ( ctypes . byref ( dev ) ) culaCheckStatus ( status ) return dev . value