Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triggering gc based on gpu memory #58

Open
denizyuret opened this issue Sep 8, 2016 · 0 comments
Open

triggering gc based on gpu memory #58

denizyuret opened this issue Sep 8, 2016 · 0 comments

Comments

@denizyuret
Copy link
Contributor

Is there any progress on making gc sensitive to remaining gpu memory? The following example still fails with an out-of-memory error. It works if you uncomment the manual gc() line.

using CUDArt
for i=1:1000
    a=CudaArray(Float64,1000000)
    # i%100==0 && gc()                                                                                                     
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants