Software Archive
Read-only legacy content
17060 ディスカッション

Offload memory leak with v17 compiler

David_S_2
ビギナー
1,351件の閲覧回数

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 件の賞賛
3 返答(返信)
Rajiv_D_Intel
従業員
1,351件の閲覧回数

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

David_S_2
ビギナー
1,351件の閲覧回数

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
従業員
1,351件の閲覧回数

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.

返信