       passed = 0; 
     } 
   }
-  
-  for (int i = 0; i < 100; ++i) {
-    printf("%d ",result[i]);
-  }
+
   printf("\n%s",passed ? "Passed!" : "Failed!");
 
   return 0;

  uint threads = SMALL_SIZE / 2;
   
  tsortSmall<<<blocks, threads,4096>>>(d_data, d_data);

  for(int i = 0 ; i < diff ; i += 1){
  
    for(int j = i; j >= 0; j -= 1){ //Always true for uint
      cSwap<<<blocks/2,threads*2,0>>>(d_data, d_data,(1<<j)*SMALL_SIZE);
      
      // cudaThreadSynchronize();
    }
                
    tmergeSmall<<<blocks,threads,4096>>>(d_data, d_data);
    
  }
}


  cudaMemcpy(result, dvalues, sizeof(int) * LARGE_SIZE , cudaMemcpyDeviceToHost);
  cudaFree(dvalues);
 
  /* Results ?*/
  int passed = 1;
  for (int i = 1; i < LARGE_SIZE; ++i) { 
