Andra Hugo
|
3c8000976d
fix deadlock: we have to lock the worker's sched_mutex when iterating on its list of contexts but unlock it before the worker is going to sleep
|
11 years ago |
Nathalie Furmento
|
43838444ce
Function starpu_sched_ctx_create() now takes a variable argument list
|
11 years ago |
Andra Hugo
|
1b597c15fb
bigger tables for the list of workes
|
11 years ago |
Andra Hugo
|
127e19b535
add iterating over all contexts at pop time when blocked_workers are alowed
|
11 years ago |
Andra Hugo
|
e4d5bcda38
remove the functions that force a worker to pop in a certain context, for the moment no need for that we do round robin
|
11 years ago |
Samuel Thibault
|
b227dbcfdc
Use STARPU_ATTRIBUTE_* macros
|
12 years ago |
Samuel Thibault
|
fbadd97f8c
Add names to codelets
|
12 years ago |
Nathalie Furmento
|
7f792e3082
Define new public API starpu_pthread which is similar to the pthread API.
|
12 years ago |
Samuel Thibault
|
81afa29fe2
Reduce amount of tasks in quick check mode
|
12 years ago |
Nathalie Furmento
|
5e28436be9
examples: field where of struct starpu_codelet is optional, no longer set it
|
12 years ago |
Nathalie Furmento
|
660641a5d4
fix type conversion
|
12 years ago |
Andra Hugo
|
a6a0d60b05
* fix synchro issue when deleting a context and resizing it (when finish_submit flag is set ON)
|
12 years ago |
Andra Hugo
|
4be171f0e6
starpu_shutdown fix (left contexts not deleted caused shutdown to have pbs)
|
12 years ago |
Nathalie Furmento
|
bcfb10289f
examples/sched_ctx/sched_ctx.c: there needs to be enough tasks for the execution to be significant
|
12 years ago |
Nathalie Furmento
|
1f526bb3bf
examples/sched_ctx/sched_ctx.c: well i should read the code before committing ...
|
12 years ago |
Nathalie Furmento
|
82fcbeb758
examples/sched_ctx/sched_ctx.c: REALLY reduce number of tasks when quick check is enabled.
|
12 years ago |
Nathalie Furmento
|
0856536bec
examples/sched_ctx/sched_ctx.c: reduce number of tasks when quick check is enabled.
|
12 years ago |
Andra Hugo
|
8c21b0e865
everyone has to delete the ctxs they created, remove workers does not deletes the corresponding queues in the scheduler,
|
12 years ago |
Nathalie Furmento
|
a2b2a56087
examples: add missing copyright and fix coding style
|
12 years ago |
Nathalie Furmento
|
a00f51f94a
sched_ctx: renaming
|
12 years ago |
Andra Hugo
|
83e975fe61
push_task_notify has to take sched_ctx_id as parameter
|
12 years ago |
Nathalie Furmento
|
92f989a021
examples/sched_ctx/sched_ctx.c: add warning
|
12 years ago |
Nathalie Furmento
|
58695ba1a4
examples/sched_ctx/sched_ctx.c: comment out functions calls which segfault
|
12 years ago |
Nathalie Furmento
|
e22791b9f3
merge fixes
|
12 years ago |
Andra Hugo
|
ffaee46c1b
fixed compilation issue
|
12 years ago |
Andra Hugo
|
25a6af763e
ex check if cuda exits
|
12 years ago |
Andra Hugo
|
d3f10b1365
try to fix weird compil pb on hydra
|
12 years ago |
Andra Hugo
|
0e655d3f23
comments for the eg
|
12 years ago |
Andra Hugo
|
8598fe2043
fix for the syncronisation between deleting ctx and starpu_shutdow
|
12 years ago |
Andra Hugo
|
b74fc182bb
allow submitting to several ctxs from 1 th + small example
|
12 years ago |