-
Notifications
You must be signed in to change notification settings - Fork 55
After conversion to LLVM we should be able to delete the inferred source of the kernel. #520
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
…rce of the kernel.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #520 +/- ##
==========================================
- Coverage 83.18% 75.44% -7.74%
==========================================
Files 24 24
Lines 3300 3270 -30
==========================================
- Hits 2745 2467 -278
- Misses 555 803 +248
☔ View full report in Codecov by Sentry. |
This doesn't seem to fix my issue. I'm not sure exactly where the problem is, but I did notice:
I tried manually calling |
Also, what's odd is that RES reported by
|
Removed a call to jl_uncompress_ir, as IIRC it was only needed for the 1.6 overlay hack: #151 (comment) |
Unfortunately still no. |
You could try taking a heap snapshot. |
So I am only deleting top-level kernel calls. Since everything else is re-usable. |
@maleadt are we tracking anywhere how big the modules are we load onto the GPU? |
No, and I don't know of a way to query the size of a CuModule or CuContext. |
1d233d7
to
e18b7c2
Compare
@simonbyrne has shown me a heap-snapshot were the inferred source took up >>1GB of ram.