Samuel Thibault 9 年 前
コミット
19528cef96
共有1 個のファイルを変更した4 個の追加1 個の削除を含む
  1. 4 1
      src/drivers/cuda/starpu_cublas.c

+ 4 - 1
src/drivers/cuda/starpu_cublas.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2012, 2014  Université de Bordeaux
+ * Copyright (C) 2009-2012, 2014, 2017  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -37,6 +37,9 @@ static void shutdown_cublas_func(void *args STARPU_ATTRIBUTE_UNUSED)
 }
 #endif
 
+#ifdef STARPU_DEVEL
+#warning FIXME should actually be done once per driver thread only, otherwise shutdown crashes
+#endif
 void starpu_cublas_init(void)
 {
 #ifdef STARPU_USE_CUDA