Pārlūkot izejas kodu

- move struct handle_entry back to data_interface.c as it may conflict with a similar struct src/core/topology.c

Olivier Aumage 11 gadi atpakaļ
vecāks
revīzija
104d44742a

+ 8 - 0
src/datawizard/interfaces/data_interface.c

@@ -29,6 +29,14 @@
 #include <util/openmp_runtime_support.h>
 #endif
 
+/* Entry in the `registered_handles' hash table.  */
+struct handle_entry
+{
+	UT_hash_handle hh;
+	void *pointer;
+	starpu_data_handle_t handle;
+};
+
 /* Hash table mapping host pointers to data handles.  */
 static struct handle_entry *registered_handles;
 static struct _starpu_spinlock    registered_handles_lock;

+ 0 - 8
src/datawizard/interfaces/data_interface.h

@@ -26,14 +26,6 @@
 #include <util/openmp_runtime_support.h>
 #endif
 
-/* Entry in the `registered_handles' hash table.  */
-struct handle_entry
-{
-	UT_hash_handle hh;
-	void *pointer;
-	starpu_data_handle_t handle;
-};
-
 /* Generic type representing an interface, for now it's only used before
  * execution on message-passing devices but it can be useful in other cases.
  */