c++ - Is boost compressed matrix thread safety? -


i'm using openmp on boost compressed matrix container. wonder if thread safe use in way?

int noofuser=2649429;//2649429     int noofitem=17770;//17770;     boost::numeric::ublas::compressed_matrix<int> ratingmatrix(noofitem,noofuser,110000000); #pragma omp parallel schedule(dynamic) for(int i=0;i<noofitem;i++) {   for(int j=0;j<noofuser;j++)   {     ratingmatrix(i,j)= #some rating   } } 

my test result shows thread safe if inserting using coordinate


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -