Nathalie Furmento
|
0b198c56cc
src,mpi/src: check return value for malloc/calloc/realloc functions
|
8 years ago |
Samuel Thibault
|
b24f685b47
When trying to reuse a memchunk, avoid locking the handle when we easily know that a transfer is needed and thus we will not afford doing it
|
9 years ago |
Samuel Thibault
|
3bb7af49d1
Fix build without allocation cache
|
9 years ago |
Samuel Thibault
|
afcbc106ef
Fix build without allocation cache
|
9 years ago |
Samuel Thibault
|
2f6fe20825
Only reuse memchunks which are easy to throw away
|
9 years ago |
Samuel Thibault
|
72453f9f98
Disable forcing available memory by default, since this makes StarPU spuriously free data when prefetching fills the memory. Clean buffers are enough to be able to allocate data easily anyway.
|
9 years ago |
Samuel Thibault
|
33399e8f5a
Improve data reuse: before calling generic reclaiming, try to reuse potentially-in-use mc of the same interface. Avoids having generic reclaiming free data just to be able to reallocate exactly the same kind of data
|
9 years ago |
Samuel Thibault
|
65dc063a53
drop duplicate line
|
9 years ago |
Samuel Thibault
|
3ee0d40b90
fix comment
|
9 years ago |
Samuel Thibault
|
322115ff53
Fix setting diduse for a memory chunk: _starpu_memchunk_recently_used does not necessarily mean it was actually used, that could be a prefetch only. Make diduse marked from the tasks and from the data acquisitions instead
|
9 years ago |
Corentin Salingue
|
82d0b3921a
merge from trunk
|
9 years ago |
Nathalie Furmento
|
d917eaa107
src: use _STARPU_MSG instead of fprintf and avoid direct calls to fprintf(stderr, ...)
|
9 years ago |
Corentin Salingue
|
a4530061c2
merge from trunk
|
9 years ago |
Samuel Thibault
|
ad53cb20ee
Add experimental STARPU_DIDUSE_BARRIER environment variable support
|
9 years ago |
Corentin Salingue
|
0dbf966aef
Merge from trunk
|
9 years ago |
Nathalie Furmento
|
87718074ae
src: fix cppcheck warnings
|
9 years ago |
Corentin Salingue
|
3bbc1443c4
Each worker can manage the good set of memories
|
9 years ago |
Samuel Thibault
|
26f550995f
Add starpu_data_set_user_data and starpu_data_get_user_data.
|
9 years ago |
Olivier Aumage
|
31ce7b0254
- missing handle unlock in starpu_memchunk_tidy()
|
9 years ago |
Samuel Thibault
|
c0b04e4d0d
Fix and test the case where we try to invalidate a data which has some transfers pending. Also make sure that eviction doesn't evict a data being invalidated
|
9 years ago |
Samuel Thibault
|
f3a4fb9302
fix build
|
9 years ago |
Samuel Thibault
|
4558b08a5b
port r18366 from 1.2: fix loop...
|
9 years ago |
Samuel Thibault
|
8497e36e91
Avoid evicting data which is being written to, the value being transferred will be bogus anyway, and the data will be invalidated anyway
|
9 years ago |
Samuel Thibault
|
1f841a3f0d
Add origin of data requests for debugging
|
9 years ago |
Samuel Thibault
|
bfea917d2c
Do not trigger reclaiming at all if there is enough room in a memory node, even if all its data are dirty. That's needed behavior for e.g. stencils
|
9 years ago |
Samuel Thibault
|
ddd01c32ae
Trace data invalidations
|
9 years ago |
Nathalie Furmento
|
3cdc863cb4
fix bugs detected by coverity
|
9 years ago |
Samuel Thibault
|
1af1847937
drop warning
|
9 years ago |
Samuel Thibault
|
ad827aa130
Avoid unlocking a handle which has just disappeared
|
10 years ago |
Samuel Thibault
|
a5f7d96fea
Add rbtree and rbtree+list implementation. Use it to introduce priorities in data requests, which default to the task priority or workerorder
|
10 years ago |