ppl Questions

2

Solved

I have a big vector of items that belong to a certain class. struct item { int class_id; //some other data... }; The same class_id can appear multiple times in the vector, and the vector is cons...
Brinna asked 12/5, 2016 at 16:0

2

Solved

Is the implementation of Visual Studio 2015's std::thread internally based on PPL's task system? The background of my question is, does it make sense to use std::thread for several tasks, because ...
Counterpoint asked 28/4, 2016 at 12:6

2

Solved

I'm trying to sum the elements of array in parallel with SIMD. To avoid locking I'm using combinable thread local which is not always aligned on 16 bytes because of that _mm_add_epi32 is throwing ...
Tella asked 12/7, 2015 at 14:45

1

Solved

I'm trying to figure out the scheduling model in the C++ version of Rx. Knowing the C# version where there is a simple interface with one Schedule method; The C++ version seems rather complex, wit...
Sincere asked 17/5, 2015 at 20:58

2

Solved

I'm looking for the recommended way to convert a concurrent_vector from the PPL library to a normal std::vector. I have a function which returns its results in a std::vector but may or may not use...
Molybdenum asked 5/6, 2014 at 17:14

8

Solved

I have an algorithm which converts a bayer image channel to RGB. In my implementation I have a single nested for loop which iterates over the bayer channel, calculates the rgb index from the bayer ...
Tillie asked 11/4, 2013 at 14:11

2

Solved

I have a C++ program which could be parallelized. I'm using Visual Studio 2010, 32bit compilation. In short the structure of the program is the following #define num_iterations 64 //some number ...
Scorpaenoid asked 4/3, 2013 at 16:38

3

Solved

I want to compare PPL vs. OpenMP regarding their performance, but can't find a detailed investigation on the web. I believe there are not many people who are experienced with PPL. I'm developing ...
Microfiche asked 14/3, 2012 at 10:27

1

Solved

I am using PPL and parallel_for syntax to have a for loop. In the capture clause, I have 3 variables, one of them is a class member. There is a compilation error due to the presence of a class memb...
Corset asked 30/4, 2012 at 7:27

1

Solved

I'm planning to start "playing" with task-based parallelism for a cross-platform project. I wanted to use Intel Threading Building Blocks. I'm starting with Windows and Visual Studio. As I just wa...
Dowell asked 22/9, 2011 at 12:58
1

© 2022 - 2024 — McMap. All rights reserved.