|
@@ -25,18 +25,19 @@ struct starpu_unistd_global_obj {
|
|
|
starpu_pthread_mutex_t mutex;
|
|
|
};
|
|
|
|
|
|
- void * starpu_unistd_global_alloc (struct starpu_unistd_global_obj * obj, void *base, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
- void starpu_unistd_global_free (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
- void * starpu_unistd_global_open (struct starpu_unistd_global_obj * obj, void *base, void *pos, size_t size);
|
|
|
- void starpu_unistd_global_close (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
- int starpu_unistd_global_read (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
- int starpu_unistd_global_write (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, const void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
- void * starpu_unistd_global_plug (void *parameter);
|
|
|
- void starpu_unistd_global_unplug (void *base);
|
|
|
- int get_unistd_global_bandwidth_between_disk_and_main_ram(unsigned node);
|
|
|
+void * starpu_unistd_global_alloc (struct starpu_unistd_global_obj * obj, void *base, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
+void starpu_unistd_global_free (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
+void * starpu_unistd_global_open (struct starpu_unistd_global_obj * obj, void *base, void *pos, size_t size);
|
|
|
+void starpu_unistd_global_close (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, size_t size STARPU_ATTRIBUTE_UNUSED);
|
|
|
+int starpu_unistd_global_read (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
+int starpu_unistd_global_write (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, const void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
+void * starpu_unistd_global_plug (void *parameter);
|
|
|
+void starpu_unistd_global_unplug (void *base);
|
|
|
+int get_unistd_global_bandwidth_between_disk_and_main_ram(unsigned node);
|
|
|
int starpu_unistd_global_async_read (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
int starpu_unistd_global_async_write (void *base STARPU_ATTRIBUTE_UNUSED, void *obj, void *buf, off_t offset, size_t size, void * async_channel);
|
|
|
void starpu_unistd_global_wait_request(void * async_channel);
|
|
|
int starpu_unistd_global_test_request(void * async_channel);
|
|
|
-
|
|
|
+int starpu_unistd_global_full_read(unsigned node, void *base, void * obj, void ** ptr, size_t * size);
|
|
|
+int starpu_unistd_global_full_write (unsigned node, void * base, void * obj, void * ptr, size_t size);
|
|
|
#endif
|