Intel® Array Building Blocks (Archived)

GC heap size


I run the simple code with ARBB_VERBOSE=1 and i got the following output.
> ArBB GC: the heap is allocated, reserve size = 1073741824 bytes !
It is too large for my 32bit application.

Could you tell me how to change the size of GC heap? I tried ARBB_OPT_LEVEL, ARBB_INIT_HEAP and ARBB_MAX_HEAP, but it does not change.

installation problem

Hi, I am new in ArBB. I have installed parallel studio and try out TBB and cilk plus without any problem. Now I want to try ArBB. I download the Beta3 version, install, set env...path etc. I am facing the following issue:1) successfully compiler the sample code but can't run it. It gives me "can't start correcly error".2) when I try to move the sample folder to somewhere else, I can't even compile the program.any help would be appreciate.thanks.

Out of bounds issue (with scatter)


I'm trying to use scatter(..) function:

scatter(const dense& source, const dense& index, const dense& defaults)

with indices (see par "index") partly out of bounds for source container.

As result I'm getting run time exeption:

terminate called after throwing an instance of 'arbb_2::out_of_bounds'
what(): A container was accessed out of bounds: INDEX_OUT_BOUNDS: Index out of bounds

DFS algorithm not working with ArBB

I'm using intel ArBB to implement the DFS algorithm on an adjacency matrix to compare the performance with the usual c++ language, however there seems to be a problem and the algorithm is not working.
When i run it without using the call function it works fine, however when i use the call it enters an infinite loop.

This is the algorithm i implemented:

#define UNVISITED 0
#define VISITED 1
using namespace arbb;
using namespace std;

dense Matrix;
dense Mark;

problem running ArBB example in evaluation guide

I am doing ArBB exercise 5 in intelparallelstudio-evaluationguide-pbb.pdf. Using Visual Studio 2010; also have Parallel Studio 2011 installed. I have made the code changes described in this exercise and it builds fine (release, x64.) However, when I try to run, I get an error The application was unable to start correctly. No other information is provided about the error. I have checked that my Path environment variable contains the proper directories for the dlls of ArBB and TBB.

Suggestions for what to try next would be appreciated.

What does "Invalid scope 'function' to arbb_end_loop: invalid control pairs" mean?

I get the following error when I run at optimization level O2 or O3, the code works fine at O0.

Error: Caught unexpected ArBB::Exception.
Invalid scope 'function' to arbb_end_loop: invalid control pairs

What does this mean?

Example of arbb_vmapi?

Hello,Is there an example anywhere of how to build and execute functions directly using the arbb_vmapi interface? Even a simple function to sum a vector would be a useful starting point if I could see how to execute it (the building of it seems easy enough using the functions I've found in arbb_vmapi).ThanksBill

What will be the upcoming ArBB's license look like?


I understood that ArBB is current in beta test and therefore the license is restricted. However I would be interested in what will be the license model of the final product. Can we expected something similar to TBB where we have an open source and a commercial license? Is the final product already scheduled (Q3/2011?).

Thank you!

About Ct whitepaper and conjugate gradient..

Hi I want to implement conjugate gradient with ARBB.. I have seen Ct whitepaper implements SPMV sample like here:
CCtVEC ctSparseMatrixVectorProductCSC(CCtVEC Values,CCtVEC RowIdx,CCtVEC ColP,CCtVEC v) {CCtVEC expv = ctDistribute(v,ColP);CCtVEC product = Values*expv;CCtVEC result =ctAddMultiReduce(product,RowIdx);return result;Could you elaborate on how much has evolvedARBBfrom CT so how this code needs code changes:basically similar functionality toctAddMultiReducectAddMultiReduce exists right?Also can you post a simple sample of conjugate gradient using SPMV in ARBB?Thanks.

Register for upcoming "Intel ArBB Code tips" webinar: Thursday, Dec.9, 2010

This webinar is an intermediate-level talk for users who have had some experience with Intel Array Building Blocks. But new users may also benefit from it by getting a jump start on programming Intel ArBB. During this one-hour presentation, we are sharing many code tips to cover the following topics:

1. How to express parallelism using container operations and the arbb::map() function

2. User defined types and functions

3. How to program for performance

4. Pitfalls and misuses to avoid

Intel® Array Building Blocks (Archived) abonnieren