From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "M. Koehrer" <mathias_koehrer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai and OpenMP
Date: Fri, 06 Mar 2009 16:34:14 +0100 [thread overview]
Message-ID: <49B14276.20100@domain.hid> (raw)
In-Reply-To: <27822339.1236353250536.JavaMail.ngmail@domain.hid>
M. Koehrer wrote:
> Hi everybody,
>
> is it possible to use OpenMP with Xenomai Realtime threads? I have a
> Intel QuadCore CPU running. Currently I use the native skin to create
> multiple threads to run on multiple CPU cores. That works perfectly.
> However for some computations, a more local parallel computation
> could be great. And OpenMP provides exactly the right thing here. My
> question is now: Is it possible to use OpenMP with Xenomai real time
> tasks? How can I define the worker threads of OpenMP to be real time
> threads? What about the priority of these threads?
I do not know what OpenMP is, but if it uses the posix API, the first
step to make it work with Xenomai is to try and compile it with xenomai
posix skin. Then, all threads created by this openmp compiled for
xenomai posix skin will be real-time threads, and the priority of these
threads will be the one chosen by the pthread_att_setschedparam or
pthread_setschedparam services.
--
Gilles.
next prev parent reply other threads:[~2009-03-06 15:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 15:27 [Xenomai-help] Xenomai and OpenMP M. Koehrer
2009-03-06 15:34 ` Gilles Chanteperdrix [this message]
2009-03-06 16:26 ` Eric Noulard
2009-03-06 16:41 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B14276.20100@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=mathias_koehrer@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.