Olivier Aumage
|
a0bdd13f08
- merge trunk
|
10 vuotta sitten |
Nathalie Furmento
|
e1fafd8cb1
src/datawizard/interfaces/data_interface.c: display warning when starpu_shutdown is called while there is some unregistered data handles (thanks to Benoit Lize for suggesting the feature)
|
11 vuotta sitten |
Olivier Aumage
|
104d44742a
- move struct handle_entry back to data_interface.c as it may conflict with a similar struct src/core/topology.c
|
11 vuotta sitten |
Nathalie Furmento
|
733a26726d
backport branches/starpu-1.1@13065: src/datawizard/interfaces/data_interface.c: only display message once when calling starpu_data_set_rank and starpu_data_set_tag
|
11 vuotta sitten |
Olivier Aumage
|
de8b0ac09b
- merge trunk
|
11 vuotta sitten |
Samuel Thibault
|
b24213f35d
Add a way to register an existing on-GPU buffer to be used by a handle
|
11 vuotta sitten |
Olivier Aumage
|
f281168e46
- merge trunk
|
11 vuotta sitten |
Samuel Thibault
|
4a9e46d095
Reduce the memory footprint of the "requested" bitfield
|
11 vuotta sitten |
Samuel Thibault
|
bbbf1610c4
Allocate dynamically an array used only while reducing data
|
11 vuotta sitten |
Olivier Aumage
|
ea7377487d
- add missing institutions
|
11 vuotta sitten |
Olivier Aumage
|
3c50f4fc6f
- add support for omp region/omp task context aware data_lookup
|
11 vuotta sitten |
Samuel Thibault
|
f255d2c95a
port r12703 from 1.1: Allow data to be uninitialized but the application provide an init_cl to initialize it
|
11 vuotta sitten |
Samuel Thibault
|
ea5d8f596b
Make a copy of the interface to the memchunk only when the latter gets detached from the data, and thus the interface code will not work on it. Drop the copy when the memchunk gets reattached. This allows interfaces to modify pointers in the interface in unpack, notably
|
11 vuotta sitten |
Andra Hugo
|
aed609a645
rollback r12518: don't allow unregister in callback or task codelets
|
11 vuotta sitten |
Andra Hugo
|
a78e7bdc6a
allow unregisters in callbacks and codelets when we have only CPUs
|
11 vuotta sitten |
Nathalie Furmento
|
f08f953c72
src/datawizard/interfaces/data_interface.c: modify _starpu_data_unregister() to not fetch the data if there
|
11 vuotta sitten |
Samuel Thibault
|
8e3d4676f4
Make _starpu_data_wait_until_available take a synchronization name, so that the node in the DAG becomes understandable
|
11 vuotta sitten |
Samuel Thibault
|
1a62c13496
reformat comment
|
11 vuotta sitten |
Samuel Thibault
|
b59aff6ad5
Fix starpu_data_unregister_submit and starpu_data_unregister_no_coherency, to make them properly wait for pending tasks
|
11 vuotta sitten |
Samuel Thibault
|
24f00257b5
Fix acquisition of data on node -1, re-enable using it in data_invalidate
|
11 vuotta sitten |
Samuel Thibault
|
c8c8eeeb31
More fixes for acquiring node -1 case. Still not working apparently, so not using it for data_invalidate for now.
|
11 vuotta sitten |
Samuel Thibault
|
515b80ef3f
Avoid making starpu_data_invalidate actually allocate RAM memory, by passing node -1 to acquire_on_node, and making the latter not allocate in that case. This fixes overzealous memory consumption by MPI layer
|
11 vuotta sitten |
Samuel Thibault
|
092378f2cc
Avoid releasing/retaking the spinlock for non-MPI data
|
11 vuotta sitten |
Nathalie Furmento
|
0e69cb4725
src/datawizard/interfaces/data_interface.c: need to release the lock before calling the unregister_hook
|
11 vuotta sitten |
Nathalie Furmento
|
2a9ebe7478
src: rename field to unregister_hook
|
11 vuotta sitten |
Nathalie Furmento
|
d60dbc4cf1
src: advise not to call starpu_data_set_rank and starpu_data_set_tag but starpu_mpi_data_register (not yet committed)
|
11 vuotta sitten |
Nathalie Furmento
|
84b8576862
src: add hook to struct _starpu_data_state which will be called when unregistering the data
|
11 vuotta sitten |
Nathalie Furmento
|
42c8e7dc8e
turn function starpu_data_get_data_handle_from_tag private and hence rename it as _starpu_data_get_data_handle_from_tag
|
11 vuotta sitten |
Samuel Thibault
|
2f62b5cd10
Use big fat abortions when one tries to make a task or callback sleep, instead of just returning EDEADLCK which few people will test
|
11 vuotta sitten |
Samuel Thibault
|
6b5492002c
Drop unused variable
|
11 vuotta sitten |