Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2834 new defect

Cilk Plus support — at Version 2

Reported by: Sebastian Huber Owned by:
Priority: normal Milestone: Indefinite
Component: tool Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

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?

Change History (2)

comment:1 Changed on 12/07/16 at 07:48:24 by Sebastian Huber

Description: modified (diff)

comment:2 Changed on 12/07/16 at 07:49:07 by Sebastian Huber

Description: modified (diff)
Note: See TracTickets for help on using tickets.