def get_device_ptr(a):
    ptr = ct.c_void_p(0)
    safe_call(backend.get().af_get_device_ptr(ct.pointer(ptr), a.arr))
    return ptr
Get the raw device pointer of an array
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/get_device_ptr