Samuel Thibault
|
160b44ac45
inline the trivial functions accessing starpu_config
|
9 years ago |
Samuel Thibault
|
9897962e89
avoid expensive loop when not using contexts
|
9 years ago |
Samuel Thibault
|
8e3f965cb6
optimize _starpu_get_nsched_ctxs a bit
|
9 years ago |
Samuel Thibault
|
3c81d54382
Reduce a big overhead in starpu_pthread_mutex_lock/unlock by only checking for the sched mutex when locking a sched mutex
|
9 years ago |
Nathalie Furmento
|
185ba72226
src/core/sched_ctx.c: for loop initial declarations are only allowed in c99 mode
|
10 years ago |
Samuel Pitoiset
|
bed5c8e317
core: do not create a sched_ctx when the user uses invalid worker IDs
|
10 years ago |
Samuel Thibault
|
877d29d194
Warn when two workers are bound to the same cpu. Support ranges in STARPU_WORKERS_CPUID
|
10 years ago |
Samuel Pitoiset
|
90735f9c0b
core: remove duplicated code in starpu_sched_ctx_bind_current_thread_to_cpuid()
|
10 years ago |
Terry Cojean
|
f8651e7c98
Fix various things around the use of sched_ctx_lists. Also try to fix the problem shown by example sched_ctx.c
|
10 years ago |
Terry Cojean
|
8076c0dba9
fix adding GPU in parallel context bug and related example
|
10 years ago |
Nathalie Furmento
|
c0557870ba
src/core/sched_ctx.c: initialise mutexes before calling _starpu_add_workers_to_sched_ctx()
|
10 years ago |
Andra Hugo
|
39ccc67d88
add hypervisor strategy monitoring perf counter (not portable, the counter reading the flops dependent on the architecture)
|
10 years ago |
Samuel Thibault
|
1b2f436a98
catch unsafe use of non-reentrant getenv
|
10 years ago |
Samuel Thibault
|
bf8e9c78cb
Cache values gotten from environment variables, to fix concurrency with putenv() calls, and also reduce cost
|
10 years ago |
Terry Cojean
|
e07df2c78f
Allow context without scheduelr (parallel workers) to be tracked by their parent's scheduler (dmda)
|
10 years ago |
Terry Cojean
|
d70b8f83fe
Improve task counter functions for better performance in single context (default) case.
|
10 years ago |
Terry Cojean
|
3533faa87f
Review the fix proposed in r15577 because of some edge cases.
|
10 years ago |
Terry Cojean
|
0248b236d2
Fix the trouble I created in r15580. Also add a default mode for _get_next_sched_ctx_to_pop_into()
|
10 years ago |
Terry Cojean
|
955c4bfb55
Add a function to find the correspondig context id of a master id
|
10 years ago |
Terry Cojean
|
36b10bf351
Refactoring scheduling context lists in order to exhibit true contexts priorities.
|
10 years ago |
Terry Cojean
|
23ac963803
Fixing a deadlock when going through function starpu_sched_ctx_move_task_to_ctx
|
10 years ago |
Nathalie Furmento
|
2644fe3fd7
src/core/sched_ctx.c: fix worker collection type
|
10 years ago |
Andra Hugo
|
84bc7e7d6a
pass the task as parameter to the iterator for parallel_tasks instead of a certain field
|
10 years ago |
Andra Hugo
|
4680541d43
refactoring worker_collections - have an iterator for normal cases and an iterator for schedulers dealing potentially with parallel tasks
|
10 years ago |
Andra Hugo
|
43f256f1c4
deal with shared workers between contexts having no starpu scheduling policy (allow the strategy to schedule tasks on not blocked shared workers)
|
10 years ago |
Andra Hugo
|
305100c749
add Beranger's ordo
|
10 years ago |
Samuel Thibault
|
b19e3f0146
port r15384 from 1.1: Fix waking up barrier counter when it reaches n
|
10 years ago |
Samuel Thibault
|
94400e2a8c
Fix undefined nul-size variable length array in the sched ctx example
|
10 years ago |
Samuel Thibault
|
795add2d98
disable racy watchdog with TSAN, and update TSAN suppressions
|
10 years ago |
Olivier Aumage
|
8ab80c8648
- remove debug printfs
|
10 years ago |