Permalink
Browse files

working on openmp, moving to flip

  • Loading branch information...
1 parent dc19c9f commit c5d5fc88b854483c1cdcd5511f636658c28fe832 uberj committed Jul 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Big_num/big_num.c
  2. BIN Big_num/run
View
@@ -55,7 +55,7 @@ void b_add_one( struct b_number* small_num, struct b_number* large_num, struct b
*/
carry = done = 0;
while ( done < small_num->size ){ // Until we are at a stable state
- #pragma omp parallel for
+ #pragma omp parallel for private(carry,temp_carry)
for( i = 0; i < small_num->size ; i++ ) {
if( !( add_chain.links[i].flags & 0x2 ) ) { // Check if initial sum is complete.
// Do initial sum.
View
Binary file not shown.

0 comments on commit c5d5fc8

Please sign in to comment.