- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 2 Intel processors, each with 4 cores on my computer. Does Intel's C++ compiler support parallelism across both the processors and the cores so that I can use all 8 cores? Is there a different method used for accessing different processors versus different cores on a processor? In other words do I write a single parallelism in the code or must I use two different methods for distributing cpu across processors versus across cores on a single processor? Do I need the Intel Parallel tools as well?
I am considering calling the Intel C++ compiler from Matlab. Do I lose any of the parallelizing capability of the compiler if I do this?
I am considering calling the Intel C++ compiler from Matlab. Do I lose any of the parallelizing capability of the compiler if I do this?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel C++ includes OpenMP parallel threading support, as well as supporting OS native thread libraries. When threading across 2 CPUs, it's generally useful to employ the affinity schemes (KMP_AFFINITY environment variable and the like) and arrange your data structures so that each cache line is mosly used by 1 thread.
A C++ OpenMP parallel function will work when called from another language, provided there is no conflicting threading scheme in the caller.
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