Samuel Thibault
|
4497fe7d38
Fix eager policies in blocking mode: the policy mutex mustn't be held while calling starpu_wakeup_worker, since in other parts of the code we take the mutexes the other way
|
11 rokov pred |
Samuel Thibault
|
4eb6989308
Do not let the prio scheduler decrement task stats several times when popping a task with multiple available implementations
|
12 rokov pred |
Samuel Thibault
|
c3d255416f
port r11361 from 1.1: Fix using fields of the just-pushed task without keeping the mutex, otherwise it might get executed and freed in between. Also make the blocking mode wake only workers which can execute the task
|
12 rokov pred |
Samuel Thibault
|
8b8f4bffe4
port r11359 from 1.1: Make eager release pressure on the mutexes by using a bitmap for signaling which workers are waiting for a task.
|
12 rokov pred |
Samuel Thibault
|
19ed150528
port r11354 and 11355 from 1.1: There is no need to signal workers in non-blocking mode
|
12 rokov pred |
Nathalie Furmento
|
43838444ce
Function starpu_sched_ctx_create() now takes a variable argument list
|
12 rokov pred |
Samuel Thibault
|
84f45afab5
port r11322 from 1.1: fix prio scheduler termination
|
12 rokov pred |
Samuel Thibault
|
970c99c558
port r11310 from 1.1: Fix looking through a list while removing elements
|
12 rokov pred |
Samuel Thibault
|
aea35461df
Document each racy spot normally reported by helgrind
|
12 rokov pred |
Samuel Thibault
|
0d1b0375b3
backport r11155 from 1.1: Disabling access to a variable locally does not actually seem to prevent helgrind from raising the race issues, on the contrary it prevents it from recording where the race comes from... Simply just disable checking these variables completely.
|
12 rokov pred |
Samuel Thibault
|
54460ab919
port r11138 from 1.1: Do not lie to helgrind about having taken a mutex, it produces erroneous races inside mutexes. Rather make helgrind ignore the precise memory accesses we know we do not need to care about
|
12 rokov pred |
Pierre-André Wacrenier
|
5a626f84cc
do not wake workers when macro STARPU_NON_BLOCKING_DRIVERS is not set
|
12 rokov pred |
Pierre-André Wacrenier
|
da72e82297
eager central policy with priorities : wake up a single worker when submitting a task
|
12 rokov pred |
Andra Hugo
|
dc4e81b588
indicate workers sharing tasks lists for all the concerned schedulers
|
12 rokov pred |
Nathalie Furmento
|
12aeacef0f
new functions starpu_task_set_implementation() and starpu_task_get_implementation() to be used by schedulers
|
12 rokov pred |
Nathalie Furmento
|
786b8fb4b7
move _STARPU_PTHREAD_XXX macros to public API starpu_thread_util and rename them to STARPU_PTHREAD_XXX
|
12 rokov pred |
Andra Hugo
|
3de4a1581a
factorise changing_ctx_mutex (get it out of the policies)
|
12 rokov pred |
Nathalie Furmento
|
b08a2c55e0
scheduler: revert 9247 and add functions to set and get task
|
12 rokov pred |
Nathalie Furmento
|
26a6b33bf4
scheduler: rename getter and setter functions for minimum and maximum task priorities
|
12 rokov pred |
Nathalie Furmento
|
7f792e3082
Define new public API starpu_pthread which is similar to the pthread API.
|
12 rokov pred |
Nathalie Furmento
|
a33a7476f9
scheduler: function starpu_push_task_end is now public as it needs to be called by schedulers
|
12 rokov pred |
Andra Hugo
|
021aff4d1c
rename starpu_sched_ctx_worker_collection to starpu_worker_collection & move definition of the corresponding structure in starpu_worker.h
|
12 rokov pred |
Samuel Thibault
|
40b9725a65
fix build
|
12 rokov pred |
Samuel Thibault
|
af6fbb8766
Tell helgrind that it's fine to check for empty fifo without actual mutex (it's just a pointer)
|
12 rokov pred |
Nathalie Furmento
|
361cb9d780
rename all objects defined in include/starpu_sched_ctx.h to start with starpu_sched_ctx
|
12 rokov pred |
Andra Hugo
|
32708a04e4
fix policies having central lists:
|
12 rokov pred |
Andra Hugo
|
f390becf51
fix synchro issue in prio (the work may have been trying to go to sleep and not see the wake up requirement in pop)
|
12 rokov pred |
Andra Hugo
|
1c0a47008a
fix deadlock of prio on hannibal (wake up active workers is pointless)
|
12 rokov pred |
Nathalie Furmento
|
549ac5bc36
rename WORKER_LIST into STARPU_WORKER_LIST
|
12 rokov pred |
Samuel Thibault
|
15edf8fa61
Move task push end management just before releasing the mutex of the queue to which it was pushed
|
12 rokov pred |