https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92848

            Bug ID: 92848
           Summary: [OpenACC] Memory leak for simple 'acc_create',
                    'acc_delete' sequence
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org, jules at gcc dot gnu.org
  Target Milestone: ---

By means of a simple test using the OpenACC Profiling Interface, I noticed that
for a simple 'acc_create', 'acc_delete' sequence, we're leaking the device
memory.  That's bad, of course; often such things are done in a loop (with some
computation in between, of course).

This seems to get fixed as part of Julian's big "OpenACC reference count
overhaul" patch, but we need to understand what exactly is going on (I think I
know), and, quite obviously, we need test cases (I have some).

Reply via email to