Olivier Aumage
|
2a99b52491
untangle two uses of _starpu_add_workers_to_sched_ctx()
|
8 years ago |
Olivier Aumage
|
d86e8dcc0f
wrap sched_ctx rwlock operations to allow for checking invariants in functions requiring the lock to be wrlocked
|
8 years ago |
Olivier Aumage
|
6d4e7daa4d
starpu_sched_ctx_worker_shares_tasks_lists is called from add_workers which already has sched_mutex taken
|
8 years ago |
Olivier Aumage
|
b542d1e3eb
fix some over-optimist rdlocks into wrlocks
|
8 years ago |
Terry Cojean
|
818ff26066
Fix locking scheme for nworkers_able_to_execute_tasks. It should be a rdlock since the context isn't modified
|
8 years ago |
Olivier Aumage
|
32974f7b85
since there is only one mutex left for sched_ctx, give it a shorter name
|
8 years ago |
Olivier Aumage
|
636e653c52
drop waiting_tasks_mutex in favor of existing changing_ctx_mutex
|
8 years ago |
Olivier Aumage
|
7010fe7dce
drop empty_ctx_mutex in favor of existing changing_ctx_mutex
|
8 years ago |
Olivier Aumage
|
301a948922
drop sched_ctx_list_mutex in favor of existing changing_ctx_mutex
|
8 years ago |
Olivier Aumage
|
7463ed1261
streamline locking in fetch_tasks_from_empty_ctx_list
|
8 years ago |
Olivier Aumage
|
145857c90e
rework locking scheme in sched_ctx_delete
|
8 years ago |
Olivier Aumage
|
ce7a2c646e
set_priority already done in add_workers
|
8 years ago |
Olivier Aumage
|
77e0637657
protect add_workers/remove_workers
|
8 years ago |
Olivier Aumage
|
2207051181
allow workers to recurse on their own sched_mutex
|
8 years ago |
Olivier Aumage
|
fe1082e42b
add wrapper
|
8 years ago |
Olivier Aumage
|
e47d845df0
encompass a larger scope for transient pop sched op protection
|
8 years ago |
Olivier Aumage
|
5efd860ef0
fix race condition between starpu_sched_ctx_delete and pop operations
|
8 years ago |
Nathalie Furmento
|
9c38741e02
fix code to follow coding conventions for braces
|
8 years ago |
Luka Stanisic
|
db4d8cf053
simgrid: taking into account scheduling cost
|
8 years ago |
Samuel Thibault
|
a8f1d7ac04
Make sure we have assigned a master
|
8 years ago |
Samuel Thibault
|
c169c9cda4
Fix warning
|
8 years ago |
Samuel Thibault
|
3ebbf095cc
Replace starpu_set_iteration/subiteration with starpu_iteration_push/pop, to make it nested
|
8 years ago |
Samuel Thibault
|
d616f26c52
Set default value of iteration/subiteration to -1, so it's not shown by default
|
8 years ago |
Samuel Thibault
|
7d765d4d6f
Add starpu_set_iteration and starpu_set_subiteration to describe tasks, for better offline traces analysis
|
8 years ago |
Nathalie Furmento
|
bf074a7831
src: include core/task.h when needed
|
8 years ago |
Terry Cojean
|
dfc8872c1d
Fix parallel_code example, make sure it works correctly and trim it a little.
|
8 years ago |
Samuel Thibault
|
31913b6e4c
fix warning
|
8 years ago |
Terry Cojean
|
6e8c5443b6
fix styling issues in my code
|
8 years ago |
Terry Cojean
|
362a0812e6
minor change: remove a useless branch
|
8 years ago |
Terry Cojean
|
6ad827c1bd
Fix the very stupid problem with r19815.
|
8 years ago |