def device_info():
    c_char_256 = ct.c_char * 256
    device_name = c_char_256()
    backend_name = c_char_256()
    toolkit = c_char_256()
    compute = c_char_256()

    safe_call(backend.get().af_device_info(ct.pointer(device_name), ct.pointer(backend_name),
                                           ct.pointer(toolkit), ct.pointer(compute)))
    dev_info = {}
    dev_info['device'] = to_str(device_name)
    dev_info['backend'] = to_str(backend_name)
    dev_info['toolkit'] = to_str(toolkit)
    dev_info['compute'] = to_str(compute)

    return dev_info
Binds this light to a transform matrix.
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/device_info--crossover with--dataset/ETHPy150Open pycollada/pycollada/collada/light.py/PointLight.bind