- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to migrate pthreads to particular cores on multiple coprocessors from host system like OPEN MP offload implementation?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to migrate pthreads to particular cores on multiple coprocessors from host system like OPEN MP offload implementation?
Short answer: No.
Longer answer: OpenMP TARGET does not migrate threads. The threads which execute on the Knights processor inside the target region are unrelated to those that were executing on the host outside the target region. (They are inside a different process, on a different machine, and the original thread still exists.)
What you can do is to use the Co-processor Offload Infrastructure (COI) to create remote processes. (See https://software.intel.com/en-us/articles/offload-runtime-for-the-intelr-xeon-phitm-coprocessor). For instance, there is code that does this (to implement the OpenMP TARGET directives), in the LLVM OpenMP runtime at http://llvm.org/svn/llvm-project/openmp/trunk/offload/src/coi/ .
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to migrate pthreads to particular cores on multiple coprocessors from host system like OPEN MP offload implementation?
Short answer: No.
Longer answer: OpenMP TARGET does not migrate threads. The threads which execute on the Knights processor inside the target region are unrelated to those that were executing on the host outside the target region. (They are inside a different process, on a different machine, and the original thread still exists.)
What you can do is to use the Co-processor Offload Infrastructure (COI) to create remote processes. (See https://software.intel.com/en-us/articles/offload-runtime-for-the-intelr-xeon-phitm-coprocessor). For instance, there is code that does this (to implement the OpenMP TARGET directives), in the LLVM OpenMP runtime at http://llvm.org/svn/llvm-project/openmp/trunk/offload/src/coi/ .
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