- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a memory allocation using memalign but I don't see a corresponding free on the host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page