Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Forgot to remove the memcpy of cDot.
  • Loading branch information
rjm11010 committed Apr 30, 2017
1 parent 3e8a641 commit e23bb33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parallel/para_gibbs.cu
Expand Up @@ -219,8 +219,6 @@ __global__ void mergePosterior(int trials, float *dev_a_out,float *dev_b_out,int
for (int i=0; i < trials; i++) {
h[i] = powf(i,(-1/(4+2)));
for (int m=0; m < M; m++) {
int *cDot = (int*) malloc(M*sizeof(int));

// Performance modiciation made
// We are not going to make a copy of tDot to make cDot, rather
// rather just replace the one value that differes them when necessary
Expand Down

0 comments on commit e23bb33

Please sign in to comment.