Duplicated API: `DeviceContext::Wait` and `DeviceContext::Finish`
Created by: reyoung
We should remove DeviceContext::Finish
because
- If CUDA or another device has errors when invoking
Wait
method, the error should be thrown byWait
. - These two APIs are confusing. How do developers pick whether should be invoked?
- The meaning of
Finish
is not clear.Finialize
always meansdelete
ordestroy
, notcomplete
.