Explorar o código

examples/interface/complex.c: fix code when cuda is disabled

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
6b45b0d259
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      examples/interface/complex.c

+ 2 - 0
examples/interface/complex.c

@@ -39,6 +39,8 @@ static int can_execute(unsigned workerid, struct starpu_task *task, unsigned nim
                /* Old card does not support doubles */
                return 0;
        }
+#else
+       return 1;
 #endif
 }