Re: [Rcpp-devel] OpenMP and Parallel BLAS

2015-05-31 Thread Balamuta, James Joseph
Greetings and Salutations, The answer is yes, multiple processes can concurrently modify different parts of the object. So, the object is not “locked.” In this case, it’s important to note the scope of the object being “shared” and not “private.” Also, the object is not being used in any compu

Re: [Rcpp-devel] OpenMP and Parallel BLAS

2015-05-27 Thread Saurabh B
ing idea > in spatial statistics: > > https://github.com/coatless/pims_bigdata > > > > Sincerely, > > > JJB > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Saurabh B

Re: [Rcpp-devel] OpenMP and Parallel BLAS

2015-05-26 Thread Balamuta, James Joseph
half Of Saurabh B Sent: Tuesday, May 26, 2015 4:53 PM To: [email protected] Subject: [Rcpp-devel] OpenMP and Parallel BLAS Hi there, I am using gradient descent to reduce a large matrix of users and items. For this I am trying to use all 40 available cores but unfortuna

Re: [Rcpp-devel] OpenMP and Parallel BLAS

2015-05-26 Thread Dirk Eddelbuettel
On 26 May 2015 at 17:53, Saurabh B wrote: | Hi there, | | I am using gradient descent to reduce a large matrix of users and items. For | this I am trying to use all 40 available cores but unfortunately my performance | is no better than when I was using just one. I am new to openMP and | RcppArm

[Rcpp-devel] OpenMP and Parallel BLAS

2015-05-26 Thread Saurabh B
Hi there, I am using gradient descent to reduce a large matrix of users and items. For this I am trying to use all 40 available cores but unfortunately my performance is no better than when I was using just one. I am new to openMP and RcppArmadillo so pardon my ignorance. The main loop is - #prag