소스 검색

examples/reductions/dot_product.c: get rid off unused variable

Nathalie Furmento 14 년 전
부모
커밋
ac7ddeb5e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/reductions/dot_product.c

+ 1 - 1
examples/reductions/dot_product.c

@@ -118,7 +118,7 @@ void dot_cuda_func(void *descr[], void *cl_arg)
 
 	cudaMemcpy(&current_dot, dot, sizeof(DOT_TYPE), cudaMemcpyDeviceToHost);
 
-	int ret = cudaThreadSynchronize();
+	cudaThreadSynchronize();
 
 	local_dot = (DOT_TYPE)cublasSdot(n, local_x, 1, local_y, 1);