|
@@ -19,6 +19,10 @@
|
|
#include "cholesky.h"
|
|
#include "cholesky.h"
|
|
#include "../sched_ctx_utils/sched_ctx_utils.h"
|
|
#include "../sched_ctx_utils/sched_ctx_utils.h"
|
|
|
|
|
|
|
|
+#if defined(STARPU_USE_CUDA) && defined(STARPU_HAVE_MAGMA)
|
|
|
|
+#include "magma.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* code to bootstrap the factorization
|
|
* code to bootstrap the factorization
|
|
* and construct the DAG
|
|
* and construct the DAG
|
|
@@ -301,6 +305,10 @@ int main(int argc, char **argv)
|
|
if(with_ctxs || with_noctxs || chole1 || chole2)
|
|
if(with_ctxs || with_noctxs || chole1 || chole2)
|
|
parse_args_ctx(argc, argv);
|
|
parse_args_ctx(argc, argv);
|
|
|
|
|
|
|
|
+#ifdef STARPU_HAVE_MAGMA
|
|
|
|
+ magma_init();
|
|
|
|
+#endif
|
|
|
|
+
|
|
int ret;
|
|
int ret;
|
|
ret = starpu_init(NULL);
|
|
ret = starpu_init(NULL);
|
|
starpu_fxt_stop_profiling();
|
|
starpu_fxt_stop_profiling();
|