Преглед на файлове

Assume that we have at least cuda 3.1, so that we can make our BLAS examples always use streams

Samuel Thibault преди 13 години
родител
ревизия
b613d58104
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      src/util/starpu_cublas.c

+ 2 - 3
src/util/starpu_cublas.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2011  Université de Bordeaux 1
+ * Copyright (C) 2009-2012  Université de Bordeaux 1
  * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -26,10 +26,9 @@ static void init_cublas_func(void *args STARPU_ATTRIBUTE_UNUSED)
 	if (STARPU_UNLIKELY(cublasst))
 		STARPU_CUBLAS_REPORT_ERROR(cublasst);
 
-#if CUDA_VERSION >= 3010
 	cublasSetKernelStream(starpu_cuda_get_local_stream());
-#endif
 }
+#endif
 
 static void shutdown_cublas_func(void *args STARPU_ATTRIBUTE_UNUSED)
 {