update a lot
preprare [sync, once]:
ready [sync]: until ok
release [async]
grad_prepare [sync, once]
grad_ready [sync]: return ok when the buffer_ptr is avaliable
grad_release [async]
Interface
preprare [sync, once]:
ready [sync]: until ok
release [async]
grad_prepare [sync, once]
grad_ready [sync]: return ok when the buffer_ptr is avaliable
grad_release [async]