Image processing average filter sample code
The following code is taken from https://software.intel.com/en-us/code-samples/intel-c-compiler/application-domains/finance/averaging-filter here is the serial code which is not hard to explainLinear...
View Article_Cilk_spawn is undefined
Hello, I have installed Visual Studio 2013 and Intel Parallel Studio and when i write a cilk plus program (fibonacci to be accurate) it compiles it just fine, but it doesn't recognize the commands...
View ArticleNew Intel Cilk Plus runtime sources and SDK is now available
New Intel Cilk Plus runtime sources and SDK were just released and are available for download now.Intel Cilk Plus runtime sources build 4420 contains minor scheduler improvements and...
View ArticleWhy does Cilk Plus __sec_reduce_add differ from a sequential addition?
I'm finding a significant error for certain input values when I use a particular offset to add values. Due to the nature of the algorithm I'm considering (not relevant to the question), I need to start...
View ArticleRace conditions in cilk_for
Hi everyone,I'm trying to run a code using cilkplus. The idea is to initiallize an array in parallel, using cilk_for, and then read it, in parallel again, to compute some results. However, I have race...
View Articlepretty weird behaviour on using cilk_for and built-in function of arrays
I was trying to use built-in functions for arrays in cilkplus. Consider the following code as example:#include<stdio.h> #include<stdlib.h> #include<cilk/cilk.h> int main() { int a[10]...
View Articlewhy spawn helper cannot be inlined
I am reading the ABI doc and also made fib working using cilk_fake.h using runtime only. One question I have is the requirement for a helper function for spawn since a cilkplus spawn is to call a...
View ArticleId of the spawning thread
Hello. In my code, I need to pass the information,hiding from the user, about running time and etc. to the processor which spawns from spawned evaluations. For that I need in processor to know, from...
View ArticleA strange behavior in array operations
Hello,When I played with array operations in Cilk Plus, I found the same assignment might return different results with gcc and g++. For example, in array[0:5] = array[10:5], we expect that five...
View ArticlePutting Your Data and Code in Order: Data and layout - Part 2
In this pair of articles on performance and memory covers basic concepts to provide guidance to developers seeking to improve software performance. These articles specifically address memory and data...
View ArticleLinking with cilk on OSX
On MAC OSX I link with -lcilkrts At runtime it seems to expect libcilkrts.5.dylibbut I had expected it would require libcilkrts.dylibHowever, there is versioned and a nonversioned...
View ArticleCompiling the runtime on Cygwin
Hi, I tried compiling the runtime on latest Cygwin w/ GCC 5.3, but ran into some errors which are solved with the patch below. A few of the code samples do work well under Cygwin (e.g. Fibonacci), but...
View Articlerecursive function in Cilk
Hello,I just write a simple Cilk code to test how deep recursive function call Cilk can reach. When I set up recursive level over 100,000, Cilk application has segmentation fault. How do I extend...
View ArticleSpawn slows down execution of a serial function
Hey there,I have a created a very simple program that does not make any sense in particular, but made me wounder where the observed overhead does come from:#include <stdio.h> #include...
View ArticleПриводим данные и код в порядок: данные и разметка, часть 2
В этой серии из двух статей о производительности и памяти описываются базовые принципы и приводятся советы для разработчиков по повышению производительности программного обеспечения. Эти статьи...
View ArticleIntel® Parallel Studio XE 2017 Beta
ContentsHow to enroll in the Beta programWhat's New in the 2017 BetaFrequently Asked QuestionsBeta duration and scheduleSupportBeta webinarsBeta Release NotesKnown issuesNext stepsHow to enroll in the...
View Articlereducers under nested iterations
Hello, I am doing some SpMV-related work and exploring the use of CilkPlus. I had a question related to reducers that I could not find out myself reading the documentation. In short: is there a simple...
View Article