Changes

Jump to: navigation, search

DPS921/ASCII

71 bytes added, 15:22, 30 November 2018
vTune Amplifier with OpenMP (Alex)
to our code. So referring to our sudocode, the new code looked something like this:
#pragma omp parallel for for( j ) { for( k ) { int sum=0 for(y) { for(x) { int index // using j, k x, y sum += input[index]; }
}
} int ave // get average using sum for(y) { for(x) { int index // using j, k x, y int charIndex // using x, y output[index] = ascii[charIndex] }
}
} }
This improved our overall runtime and reduced it to '''36.095 seconds'''.
31
edits

Navigation menu