def METHOD_NAME(device: int):
    """
    Returns an identifier string for the device.
    Parameters
    ----------
        device : int
            Device number to query
    This function automatically raises CUDADriverError with error message
    and status code.
    """
    status, device_name = cuda.cuDeviceGetName(256, cuda.CUdevice(device))
    if status != cuda.CUresult.CUDA_SUCCESS:
        raise CUDADriverError(status)
    return device_name.decode()