- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, im trying to port mfc code to linux and i am using the intel compiler.
I could not find a equivalent _aligned_realloc() in the intel compiler manual. Has anyone encountered this problem and how did u solve it?
Thank you very much
I could not find a equivalent _aligned_realloc() in the intel compiler manual. Has anyone encountered this problem and how did u solve it?
Thank you very much
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I've been hoping that someone else had some good ideas. Unfortunately, while we have _mm_malloc() and _mm_free(), we don't seem to have _mm_realloc(). Among the possibiliies are that you could either implement a separate aligned malloc/free/realloc using the standard malloc and free, or you could implement your own _mm_realloc in terms of _mm_malloc and _mm_free().
Maybe someone else has a better idea?
Dale
Maybe someone else has a better idea?
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have — Intel should implement support for _aligned_realloc() , _aligned_malloc(), and _aligned_free() if there is already support for that in Visual Studio (check stdlib.h, there are more functions with alignment).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page