Browse Source

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

Samuel Thibault 13 years ago
parent
commit
339fd3a6d8
1 changed files with 1 additions and 1 deletions
  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;