|
@@ -1,7 +1,7 @@
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
*
|
|
*
|
|
* Copyright (C) 2009-2012 Université de Bordeaux 1
|
|
* Copyright (C) 2009-2012 Université de Bordeaux 1
|
|
- * Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
|
|
|
|
|
|
+ * Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
|
|
*
|
|
*
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -19,6 +19,7 @@
|
|
#include <common/config.h>
|
|
#include <common/config.h>
|
|
#include <core/sched_policy.h>
|
|
#include <core/sched_policy.h>
|
|
#include <datawizard/datastats.h>
|
|
#include <datawizard/datastats.h>
|
|
|
|
+#include <datawizard/memory_manager.h>
|
|
#include <common/fxt.h>
|
|
#include <common/fxt.h>
|
|
#include "copy_driver.h"
|
|
#include "copy_driver.h"
|
|
#include "memalloc.h"
|
|
#include "memalloc.h"
|
|
@@ -43,6 +44,7 @@ void _starpu_init_memory_nodes(void)
|
|
|
|
|
|
_starpu_init_mem_chunk_lists();
|
|
_starpu_init_mem_chunk_lists();
|
|
_starpu_init_data_request_lists();
|
|
_starpu_init_data_request_lists();
|
|
|
|
+ _starpu_memory_manager_init();
|
|
|
|
|
|
_STARPU_PTHREAD_RWLOCK_INIT(&descr.conditions_rwlock, NULL);
|
|
_STARPU_PTHREAD_RWLOCK_INIT(&descr.conditions_rwlock, NULL);
|
|
descr.total_condition_count = 0;
|
|
descr.total_condition_count = 0;
|