Serving the Quantitative Finance Community

Search found 14 matches

by imirman
February 27th, 2009, 10:50 am
Forum: Programming and Software Forum
Topic: Multicore-enabling Discrete Hedging in QuantLib
Replies: 0
Views: 42142

Multicore-enabling Discrete Hedging in QuantLib

<t>After some direction from the Wilmott forums, we have parallelized the discrete hedging example in QuantLib, and got pretty good speed-up: almost 14X on a 16-core system.Here's the write-up: Multicore-enabling Discrete Hedging in QuantLibIt feels like Cilk++ lends itself well to taking a large li...
by imirman
February 27th, 2009, 10:49 am
Forum: Numerical Methods Forum
Topic: Multicore-enabling Discrete Hedging in QuantLib
Replies: 0
Views: 42630

Multicore-enabling Discrete Hedging in QuantLib

<t>After some direction from the Wilmott forums, we have parallelized the discrete hedging example in QuantLib, and got pretty good speed-up: almost 14X on a 16-core system.Here's the write-up: Multicore-enabling Discrete Hedging in QuantLibIt feels like Cilk++ lends itself well to taking a large li...
by imirman
February 6th, 2009, 1:12 pm
Forum: Numerical Methods Forum
Topic: Multithreading tool
Replies: 9
Views: 44631

Multithreading tool

Thanks guys for the dialogue.Regarding Quantlib - is there a particular function and input data set that would be interesting?I ask because we're algorithms and parallel computing guys, but are novices with respect to what hard-core quants care about.thanks!ilya
by imirman
February 5th, 2009, 8:23 am
Forum: Numerical Methods Forum
Topic: Multithreading tool
Replies: 9
Views: 44631

Multithreading tool

<t>My sense is that in mainstream multicore programming for C/C++, it's currently a 4-horse race: Intel's TBB, OpenMP, Cilk++, and - soon - Microsoft's Concurrency Runtime platform.Each has pros and cons. For example, a library approach such as TBB works best for applications that have relatively di...
by imirman
February 4th, 2009, 9:01 pm
Forum: Programming and Software Forum
Topic: parallel C++
Replies: 7
Views: 44126

parallel C++

Some algorithms are in fact inherently serial, but others (for example, many Monte Carlo simulations) yield nicely to multithreading with Cilk++. We're looking for more good test cases, so we're interested in knowing which problems you consider both important and computationally expensive.
by imirman
February 4th, 2009, 7:52 pm
Forum: Programming and Software Forum
Topic: parallel C++
Replies: 7
Views: 44126

parallel C++

<t>I am looking for a compute-intensive C/C++ algorithm to multithread using the recently released Cilk++ programming platform (targeted at multicore programming, in particular bringing serial algorithms into the multicore realm).Any advice, or interest in playing around with the download?thanks in ...
by imirman
February 4th, 2009, 7:32 pm
Forum: Numerical Methods Forum
Topic: Multithreading tool
Replies: 9
Views: 44631

Multithreading tool

<t>I am looking for a compute-intensive C/C++ algorithm to multithread using the recently released Cilk++ programming platform (targeted at multicore programming, in particular bringing serial algorithms into the multicore realm).Any advice, or interest in playing around with the (free) download?tha...
by imirman
October 12th, 2008, 4:53 pm
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<r>Hi Daniel,We have a bunch of complete examples here: <URL url="http://www.cilk.com/resources-for-multicoders/for-developers-only/Cilk"><LINK_TEXT text="http://www.cilk.com/resources-for-multi ... -only/Cilk">http://www.cilk.com/resources-for-multicoders/for-developers-only/Cilk</LINK_TEXT></URL>+...
by imirman
October 6th, 2008, 4:47 pm
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<t>QuoteOriginally posted by: CuchulainnIlya,Here is a 101 program in OpenMP to do some vector manipulation. How does the corresponding code look like in your product?test This snippet works but not in the expected way #pragma omp parallel for for(int j=0; j < (int)vec.size(); ++j) { cout << "vec[" ...
by imirman
October 5th, 2008, 9:29 pm
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

thanks Daniel - we'll take a look and report back.
by imirman
October 5th, 2008, 10:14 am
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<r>QuoteOriginally posted by: crosshatchI would start with some simple barebone examples:- The obvious is a Monte-Carlo example: Price a (path dependent) option by breaking the paths up using a "cilk_for". - Price an american option using (recursive) binomial trees using "cilk_spawn" and "cilk_sync"...
by imirman
October 5th, 2008, 10:02 am
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<r>Daniel - I should have also mentioned this page - we've made the alpha documentation and examples public: <URL url="http://www.cilk.com/resources-for-multicoders/for-developers-only/"><LINK_TEXT text="http://www.cilk.com/resources-for-multi ... pers-only/">http://www.cilk.com/resources-for-multic...
by imirman
October 5th, 2008, 9:58 am
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<r>Hi Daniel,Relative to OpenMP:1. Cilk++ has nested parallelism that works and provides guaranteed speed-up. OpenMP has nested parallelism, but it is a memory hog and not reliable.2. Cilk++ guarantees space bounds. On P processors, Cilk++ uses no more than P times the space of a serial execution. I...
by imirman
October 1st, 2008, 9:30 pm
Forum: Numerical Methods Forum
Topic: looking for C++ algorithm to evaluate a new multithreading tool
Replies: 19
Views: 51524

looking for C++ algorithm to evaluate a new multithreading tool

<t>I am looking to multicore-enable a couple C++ algorithms with our tool (Cilk++).Is there a pointer to an algorithm or two (and if possible data set) that might be an interesting application to speed up using multicore processors?Would the QuantLib library be a good place to start?thanks in advanc...