Community
cancel
Showing results for 
Search instead for 
Did you mean: 
David_S_2
Beginner
107 Views

Offload memory leak with v17 compiler

Apologies if this has been covered elsewhere.

I am seeing a small host-side memory leak per offload invocation with the 17.0.1 compiler.  Is this a known issue? I haven't managed to track down 17.0.2 update details - maybe its fixed there.  The 

To see the problem, compile the attached with icc -std=c99 intel_v17.c -o intel_v17 , run on a Phi system with  ./intel_v17 2 1000  and monitor the application memory use.

 

0 Kudos
3 Replies
Rajiv_D_Intel
Employee
107 Views

There's a memory allocation using memalign but I don't see a corresponding free on the host.

David_S_2
Beginner
107 Views

Thanks for the response but that is a one-off memory allocation. The issue is the steady memory growth due to the offloads in the infinite loop while (a != 7).

 

Rajiv_D_Intel
Employee
107 Views

A memory leak has been identified in the offload library and a fix has been made.

The 17.0 Update3 compiler scheduled for May'17 will have the fix.

Reply