Questions tagged [cilk-plus]

Intel® Cilk™ Plus is an extension to C and C++ that improves the performance of programs on multicore processors.

Intel® Cilk™ Plus is an extension to C and C++ that improves the performance of programs on multicore processors. The three Intel Cilk Plus keywords provide a simple model for parallel programming, while runtime and template libraries offer an environment for building parallel applications.

Source: Intel Developer Zone

79 questions
0
votes
2 answers

calc_min function of reducer_min_index isn't found

Hey guys I am trying to do a simple find min operation using cilk plus reducers. For some odd reason i am able to include the reducer_min libraries but I am not able to use the function calc_min. Does anyone know why I am getting this error? 47:…
jalapenolime
  • 217
  • 3
  • 15
0
votes
1 answer

Polynomial multiplication CilkPlus

I'm trying to make a parallel cilk code of this code using cilk_for: c[0:2*n-1] = 0; for (size_t i=0; i
ccarmona
  • 45
  • 5
0
votes
1 answer

Problems compiling GCC-CilkPlus 4.9

I am trying to compile, on my x86_64 RHEL machine (CentOS 6.4), the GCC compiler with Intel CilkPlus (v4.9) module for compiling applications targeting parallel multicore platforms. I am following GNU GCC Doc for installation which is very very…
Andry
  • 16,172
  • 27
  • 138
  • 246
0
votes
1 answer

Is there a more rapid method to download gcc-cilkplus?

I am trying to create a parallel application in C++ and I chose to use the Intel Cilk-Plus Libraries for this reason. My problem is just that I am still trying to download the extension for g++ and compile it on my machine, but this thing is taking…
Andry
  • 16,172
  • 27
  • 138
  • 246
0
votes
1 answer

Is it possible to use `__sec_implicit_index` inside an `if` block statement using Cilk Plus Array Notation?

My goal is to conditionally assign values to an array based on the implicit index value, using Cilk Plus Array Notation with Intel's icc compiler, version 13.1.3 20130607. Consider the following code: T test[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8,…
naitsirhc
  • 5,274
  • 2
  • 23
  • 16
0
votes
1 answer

Assigning tasks to threads in Cilk and assigning threads to NUMA nodes

For example, there are three threads. Thread 1 is assigned tasks 1, 2, and 3. Thread 2 is assigned tasks 4, 5, and 6. Thread 3 is assigned tasks 7, 8, and 9. Task sizes are not uniform. The tasks assigned to a thread have very similar working…
Kadir
  • 1,345
  • 3
  • 15
  • 25
0
votes
1 answer

Calling a function in a parallel for loop

I am trying to call a function inside a parallel for loop in Cilk plus. If I declare an array in the function that I call, would it have race issues? I am getting Segmentation fault or Aborted(Core dumped) errors after some runs of the…
Nitin
  • 2,624
  • 7
  • 29
  • 43
0
votes
1 answer

How to get Cilk working with Cygwin?

I have downloaded both programs, but I see no instructions on google for getting Cilk to work on Cygwin. Is there a Cygwin package that would work? I'm programming in C and have gcc installed.
user1956609
  • 2,132
  • 5
  • 27
  • 43
0
votes
1 answer

GCC compiler Windows questions

Is it dangerous to install GCC 4.7 if you already have 4.4.1 installed? If so, how do I uninstall the obsolete version? Where can I download the newest, free, Windows-compatible, Cilk+ containing GCC version?
0
votes
1 answer

Win8 and Cilk++

I was willing to create an app for IntelAppUp store.I came across Cilk++.I was wondering how to use this C++ library in C # application while building a form based application?Any insight will be helpful
Sant14
  • 302
  • 1
  • 13
0
votes
2 answers

how to get started with cilk++

I want to use cilk++ for writing parallel code. I want to know the the simplest way to get started either in windows or ubuntu 10.04.What should I istall to get started with cilk++. Thanx.
0
votes
1 answer

cilk++ on linux system

I had some problems with a cilk++ program that works well on windows system but not on linux system: on windows system, while increasing the number of threads the execution time decrease but on linux system, while increasing the number of threads…
ammouna
  • 981
  • 1
  • 6
  • 4
0
votes
1 answer

Adoption of Cilk++ over pthreads

I have had this question for a while. I saw the MIT opencourseware lectures on Cilk++. The interface for using threads looked straight forward and the tooling seemed useful. The lecturer explained the pros of using Cilk++ instead of pthread or…
Gerard Sexton
  • 3,114
  • 27
  • 36
0
votes
2 answers

Are there any problems with this foreach macro implementation

In Intel Cilk Plus extension there's this keyword cilk_for (or _Cilk_for actually). It's like the keyword for, but more restrictive and its iterations run in parallel. I wrote a convenience macro in the spirit of BOOST_FOREACH, which uses cilk_for…
zeroes00
  • 531
  • 3
  • 16
0
votes
1 answer

thrust equivalent of cilk::reducer_list_append

I have a list of n intervals or domains. I would like to subdivide in parallel each interval into k parts making a new list (unordered). However, most of the subdivision won't pass certain criteria and shouldn't be added to the new…
rych
  • 682
  • 3
  • 10
  • 22