소스 검색

fix non-CUDA build

Samuel Thibault 15 년 전
부모
커밋
753a962f0f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);
 	STARPU_LU(common_pivot)(descr, 1, _args);
 }
 }
 
 
+#endif// STARPU_USE_CUDA
+
 static struct starpu_perfmodel_t STARPU_LU(model_pivot) = {
 static struct starpu_perfmodel_t STARPU_LU(model_pivot) = {
 	.type = STARPU_HISTORY_BASED,
 	.type = STARPU_HISTORY_BASED,
 #ifdef STARPU_ATLAS
 #ifdef STARPU_ATLAS
@@ -582,5 +584,3 @@ starpu_codelet cl_pivot = {
 	.nbuffers = 1,
 	.nbuffers = 1,
 	.model = &STARPU_LU(model_pivot)
 	.model = &STARPU_LU(model_pivot)
 };
 };
-
-#endif// STARPU_USE_CUDA