cuda: in with-cuda-context, sync context when cleaning up so that destroying context doesn't fail due to asynchronous errors
cuda: in with-cuda-context, sync context when cleaning up so that destroying context doesn't fail due to asynchronous errors

ceninan/factor,mcandre/factor,kingcons/factor,erg/factor,mcandre/factor,ceninan/factor,mcandre/factor,erg/factor,kingcons/factor,kingcons/factor,cataska/factor,ceninan/factor,erg/factor,erg/factor,erg/factor,ceninan/factor,mcandre/factor,cataska/factor,cataska/factor,erg/factor,mcandre/factor,erg/factor,mcandre/factor,mcandre/factor,cataska/factor,kingcons/factor