def free_pinned(ptr):
    cptr = ct.c_void_p(ptr)
    safe_call(backend.get().af_free_pinned(cptr))
Free the pinned memory allocated by alloc_pinned
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/free_pinned