From e23bb33c3eb2f0e0ad5846ffd0ecc0ab1c0b4d5c Mon Sep 17 00:00:00 2001 From: Reynaldo Morillo Date: Sun, 30 Apr 2017 14:09:35 -0400 Subject: [PATCH] Forgot to remove the memcpy of cDot. --- parallel/para_gibbs.cu | 2 -- 1 file changed, 2 deletions(-) diff --git a/parallel/para_gibbs.cu b/parallel/para_gibbs.cu index 3d5e144..fb128ef 100644 --- a/parallel/para_gibbs.cu +++ b/parallel/para_gibbs.cu @@ -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