MATLAB Answers

How to release GPU memory ?

20 views (last 30 days)
RRF_houden
RRF_houden on 11 Jan 2020 at 13:36
Commented: Joss Knight on 16 Jan 2020 at 17:34
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 at 17:34
You're going to have to post the code I'm afraid.

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags

Products