@@ -313,10 +313,10 @@ __global__ void AxB_phase1
313313 __syncthreads ();
314314 if (threadIdx .x ==0 && blockIdx .x == 0 )
315315 {
316- printf (" Here in phase1, what I see is this:\n " ) ;
317- printf (" MX(pM) is: %s\n " , GB_XSTR (MX (pM))) ;
318- printf (" GB_MULT(x,y) is: %s\n " , GB_XSTR (GB_MULT (x,y))) ;
319- printf (" GB_ADD(x,y) is: %s\n " , GB_XSTR (GB_ADD (x,y))) ;
316+ // printf ("Here in phase1, what I see is this:\n") ;
317+ // printf ("MX(pM) is: %s\n", GB_XSTR (MX (pM))) ;
318+ // printf ("GB_MULT(x,y) is: %s\n", GB_XSTR (GB_MULT (x,y))) ;
319+ // printf ("GB_ADD(x,y) is: %s\n", GB_XSTR (GB_ADD (x,y))) ;
320320 // #define GB_GETA(blob)
321321 // #define GB_GETB(blob)
322322 // #define GB_MULT(x,y) (1)
@@ -382,11 +382,11 @@ __global__ void AxB_phase1
382382
383383 int64_t k_end = GB_IMIN ( pointerchunk , klast - kfirst +2 ) ;
384384
385- if ( threadIdx .x ==0 )
386- {
387- printf (" chunk%ld pfirst,plast,ch_end =%ld,%ld,%ld kfirst,klast,kend = %ld,%ld,%ld\n " ,
388- chunk, pfirst, plast, chunk_end, kfirst, klast, k_end ) ;
389- }
385+ // if( threadIdx.x ==0)
386+ // {
387+ // printf("chunk%ld pfirst,plast,ch_end =%ld,%ld,%ld kfirst,klast,kend = %ld,%ld,%ld\n",
388+ // chunk, pfirst, plast, chunk_end, kfirst, klast, k_end ) ;
389+ // }
390390 __syncthreads ();
391391
392392
@@ -399,10 +399,10 @@ __global__ void AxB_phase1
399399 __syncthreads ();
400400 if (threadIdx .x == 0 )
401401 {
402- for (int64_t i = 0 ; i < k_end ; i++)
403- {
404- printf (" Mps [%d] = %ld\n " , i, Mps [i]) ;
405- }
402+ // for (int64_t i = 0 ; i < k_end ; i++)
403+ // {
404+ // printf ("Mps [%d] = %ld\n", i, Mps [i]) ;
405+ // }
406406 }
407407 __syncthreads ();
408408
@@ -420,10 +420,10 @@ __global__ void AxB_phase1
420420 __syncthreads ();
421421 if (threadIdx .x == 0 )
422422 {
423- for (int64_t i = 0 ; i < chunksize ; i++)
424- {
425- printf (" ks [%d] = %ld\n " , i, ks [i]) ;
426- }
423+ // for (int64_t i = 0 ; i < chunksize ; i++)
424+ // {
425+ // printf ("ks [%d] = %ld\n", i, ks [i]) ;
426+ // }
427427 }
428428 __syncthreads ();
429429
@@ -461,7 +461,7 @@ __global__ void AxB_phase1
461461 GB_bucket_code bucket = GB_BUCKET_ZOMBIE ;
462462 int64_t k = ks[ pM - pfirst ] ;
463463 // k += ( pM == Mp[k+1] ) ;
464- printf (" tid%d k %ld pM %ld MX(pM): %d\n " , threadIdx .x , k, pM, MX (pM));
464+ // printf ("tid%d k %ld pM %ld MX(pM): %d\n", threadIdx.x, k, pM, MX (pM));
465465 int64_t i = Mi [ pM ] ;
466466int64_t j = k ; // HACK, does not need to be initialized here
467467
@@ -515,16 +515,16 @@ pA_end = Ap [i+1] ;
515515
516516 // bucket = GB_BUCKET_MERGEPATH ;
517517 bucket= GB_bucket_assignment ( ainz, bjnz, bvlen) ;
518- printf (" tid%d i %ld j %ld ainz %ld bjnz %ld: bucket %d\n " ,
519- threadIdx .x , i, j, ainz, bjnz, (int ) bucket) ;
518+ // printf ("tid%d i %ld j %ld ainz %ld bjnz %ld: bucket %d\n",
519+ // threadIdx.x, i, j, ainz, bjnz, (int) bucket) ;
520520 }
521521 }
522522 }
523523
524524 if (bucket == GB_BUCKET_ZOMBIE)
525525 {
526526 // mark C(i,j) is a zombie
527- printf (" tid%d pM=%d %d,%d prezombie\n " ,threadIdx .x ,pM,i,j) ;
527+ // printf ("tid%d pM=%d %d,%d prezombie\n",threadIdx.x,pM,i,j) ;
528528 Ci [pM] = GB_FLIP (i) << 4 ;
529529 // GB_BUCKET_COUNT (GB_BUCKET_ZOMBIE) ;
530530 my_bucket_0++ ; // 0 is the zombie bucket
@@ -534,7 +534,7 @@ pA_end = Ap [i+1] ;
534534 // place C(i,j) in its bucket
535535 Ci [pM] = (k << 4 ) + bucket ;
536536 GB_BUCKET_COUNT (bucket) ;
537- printf (" tid%d pM=%d %d,%d b=%d\n " ,threadIdx .x , pM, i,j, (int )bucket) ;
537+ // printf ("tid%d pM=%d %d,%d b=%d\n",threadIdx.x, pM, i,j, (int)bucket) ;
538538 }
539539 }
540540
0 commit comments