소스 검색

Return 1 when capacity is at least 1.3, not 0...

Samuel Thibault 13 년 전
부모
커밋
339fd3a6d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/reductions/dot_product.c

+ 1 - 1
examples/reductions/dot_product.c

@@ -48,7 +48,7 @@ static int can_execute(unsigned workerid, struct starpu_task *task, unsigned nim
 	props = starpu_cuda_get_device_properties(workerid);
 	if (props->major >= 2 || props->minor >= 3)
 		/* At least compute capability 1.3, supports doubles */
-		return 0;
+		return 1;
 #endif
 	/* Old card, does not support doubles */
 	return 0;