samwyi edited a comment on issue #5388: URL: https://github.com/apache/incubator-tvm/issues/5388#issuecomment-617424509
> Thanks @samwyi for reporting the problem. Perhaps an easier fix now would be call into Synchronize directly in when FreeDataSpace is called. This is also the default behavior in CUDA. Given that most of the space won't be freed during computation, this might be a fine fix. > > @samwyi do you mind to send a PR? I'd be glad to provide a fix, but seems CUDA didn't call Synchronize in FreeDataSpace. Seems CUDA doesn't use deferred kernels, so it should be fine for CUDA. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
