Samuel Thibault
|
fa3b74bdf3
Fix disabling checking for mc_cache_size
|
11 years ago |
Samuel Thibault
|
923dbdd2d8
Use starpu_ssize_t instead of ssize_t, and add a check against it
|
11 years ago |
Samuel Thibault
|
7c6d72edfc
expose memory manager functions to applications
|
11 years ago |
Samuel Thibault
|
1088233b30
Enable allocation cache in main RAM when STARPU_LIMIT_CPU_MEM is set by the user.
|
11 years ago |
Samuel Thibault
|
3937eb658e
Make _starpu_memchunk_tidy available to the application
|
11 years ago |
Samuel Thibault
|
d737e2d729
Periodically reclaim memory instead of waiting the last moment.
|
11 years ago |
Samuel Thibault
|
5f4256410a
Account cached allocation size
|
11 years ago |
Nathalie Furmento
|
e0df38f7de
src: modify debug messages
|
11 years ago |
Samuel Thibault
|
4b1a16edde
Fix University name after the fusion..
|
11 years ago |
Samuel Thibault
|
c3ca7df1a9
Fix erasing mc from mc_list
|
11 years ago |
Samuel Thibault
|
9327d30712
revert spurious changes
|
11 years ago |
Samuel Thibault
|
c209bb90fd
port r13570 from 1.1: Fix mc memory leak
|
11 years ago |
Samuel Thibault
|
d8ca14fa57
Fix reusing data from the allocation cache: the mc shouldn't be put on the mc_list, that will be handled by register_mem_chunk
|
11 years ago |
Samuel Thibault
|
a93bf83bb4
Do not change the new replicate fields, this is handled by the caller. Fix the cache allocation to actually reuse old buffers.
|
11 years ago |
Samuel Thibault
|
c90cdf163a
Fix spurious data pointer registration when using scratch or redux buffers
|
11 years ago |
Samuel Thibault
|
63a53f35d2
Also print memory node name in the reclaiming warning
|
11 years ago |
Samuel Thibault
|
4d02260a53
Explain a bit more about reclaiming
|
11 years ago |
Samuel Thibault
|
f255d2c95a
port r12703 from 1.1: Allow data to be uninitialized but the application provide an init_cl to initialize it
|
11 years ago |
Nathalie Furmento
|
a5977c4431
src/datawizard/memalloc.c: interface may be a keyword depending on the used compiler
|
11 years ago |
Samuel Thibault
|
ea5d8f596b
Make a copy of the interface to the memchunk only when the latter gets detached from the data, and thus the interface code will not work on it. Drop the copy when the memchunk gets reattached. This allows interfaces to modify pointers in the interface in unpack, notably
|
11 years ago |
Samuel Thibault
|
fb03301fdf
port r12523 from 1.1: Fix detaching a memchunk from a handle: the memchunk is not supposed to still have a pointer to the replicate
|
11 years ago |
Samuel Thibault
|
3b69247d4a
mention that we don't print reclaim warning several times
|
12 years ago |
Samuel Thibault
|
098414fc11
port r11533 from 1.1: Also explicitly show in traces the writing back time during reclaiming
|
12 years ago |
Samuel Thibault
|
9a05d0c3b8
port r11531 from 1.1: Also show free periods in the trace, to distinguish with data transfers and algorithmic complexity in reclaiming
|
12 years ago |
Samuel Thibault
|
d80744f490
port r11508 from 1.1: Fix passing key to hasthable: the passed pointer has to be pointing to the key at all time
|
12 years ago |
Samuel Thibault
|
806d128705
port r11506 from 1.1: Do not remove reused memchunk from the cache, it was already removed in _starpu_memchunk_cache_lookup_locked. Thanks Cyril for managing to find a case where it crashes :)
|
12 years ago |
Nathalie Furmento
|
402e568b27
src/datawizard/memalloc: store interface size of the memchunk as the handle may no longer be valid when reusing the memchunk (thanks to Cyril Bordage for reporting the bug)
|
12 years ago |
Samuel Thibault
|
ece3263046
port r11406 from 1.1: interface is a reserved word on windows
|
12 years ago |
Samuel Thibault
|
651f65f9a8
port r11394 from 1.1: Replace rwlock (always taken in write mode) with spinlock
|
12 years ago |
Samuel Thibault
|
6adb01dd56
port r11392 from 1.1: Do not hold the handle lock while allocating an interface
|
12 years ago |