How to release GPU memory ?

3 views (last 30 days)
RRF_houden
RRF_houden on 11 Jan 2020
Commented: Joss Knight on 16 Jan 2020
Hi.
I wrote mex function which run on GPU.
But, it didn't run properly.
I think it is because releasing gpu memory is not done.
It wrote in CUDA. And, I have used "mxGPUDestroyGPUArray" function.
To release that, how to do?
  1 Comment
Joss Knight
Joss Knight on 16 Jan 2020
You're going to have to post the code I'm afraid.

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!