Forráskód Böngészése

fix non-CUDA build

Samuel Thibault 15 éve
szülő
commit
753a962f0f
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      examples/lu/xlu_kernels.c

+ 2 - 2
examples/lu/xlu_kernels.c

@@ -562,6 +562,8 @@ void STARPU_LU(cublas_pivot)(void *descr[], void *_args)
 	STARPU_LU(common_pivot)(descr, 1, _args);
 }
 
+#endif// STARPU_USE_CUDA
+
 static struct starpu_perfmodel_t STARPU_LU(model_pivot) = {
 	.type = STARPU_HISTORY_BASED,
 #ifdef STARPU_ATLAS
@@ -582,5 +584,3 @@ starpu_codelet cl_pivot = {
 	.nbuffers = 1,
 	.model = &STARPU_LU(model_pivot)
 };
-
-#endif// STARPU_USE_CUDA