[RTEMS Project] #2834: Cilk Plus support

RTEMS trac trac at rtems.org
Wed Dec 7 07:49:07 UTC 2016


#2834: Cilk Plus support
-----------------------------+-------------------
 Reporter:  sebastian.huber  |       Owner:
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  tools            |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-------------------
Description changed by sebastian.huber:

Old description:

> Cilk Plus is a C++ language extension developed by Intel.  It is proposed
> as a
> C++ standard extension.
> It uses a work stealing scheduler.  Similar to OpenMP it
> consists of two parts,
>
> * the code generation by the compiler, and
> * a run-time library.
>
> The code generation works for the RTEMS using a recent GCC.  It is
> feasible to
> port the run-time library (libcilkrt) to RTEMS.  However, some issues
> must
> be dealt with.
>
> * Currently virtual memory via `mmap()` is used to manage the worker
> stacks (cactus-stack).
> * This could be changed to use a pool allocator.
> * What happens in case of stack overflows, e.g. no protection pages?

New description:

 Cilk Plus is a C++ language extension developed by Intel.  It is proposed
 as a C++ standard extension. It uses a work stealing scheduler.  Similar
 to OpenMP it consists of two parts,

 * the code generation by the compiler, and
 * a run-time library.

 The code generation works for the RTEMS using a recent GCC.  It is
 feasible to port the run-time library (libcilkrt) to RTEMS.  However, some
 issues must be dealt with.

 * Currently virtual memory via `mmap()` is used to manage the worker
 stacks (cactus-stack).
 * This could be changed to use a pool allocator.
 * What happens in case of stack overflows, e.g. no protection pages?

--

--
Ticket URL: <http://devel.rtems.org/ticket/2834#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list