Corentin Salingue
|
41101d149b
merge from trunk
|
9 years ago |
Samuel Thibault
|
7145c56ef0
drop useless cast
|
9 years ago |
Luka Stanisic
|
dcd569f960
dont do cuda allocation when there are 0 cuda devices
|
9 years ago |
Corentin Salingue
|
0dbf966aef
Merge from trunk
|
9 years ago |
Nathalie Furmento
|
87718074ae
src: fix cppcheck warnings
|
9 years ago |
Corentin Salingue
|
4a14747dd9
add Master <-> Slaves transfers + fix bug when asynchronous messages are received + fix bug when multiple thread is not activated
|
9 years ago |
Nathalie Furmento
|
ea326f4d15
src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC
|
9 years ago |
Nathalie Furmento
|
d4761fddf6
src: introduce macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC to make sure we always check the return value of stdlib malloc functions
|
9 years ago |
Samuel Thibault
|
7d31b28e62
fix valgrind warning
|
9 years ago |
Samuel Thibault
|
1b5594d2d7
fix non-simgrid build
|
10 years ago |
Samuel Thibault
|
fdbfd9512c
Decrease folded memory to 1MiB so it fits in most caches. Allow to configure it so that the limit on number of VMAs in Linux does not limit us
|
10 years ago |
Samuel Thibault
|
8f654dead2
Add "folded" memory allocation in simulation mode.
|
10 years ago |
Samuel Thibault
|
e246f431e7
Make sure we don't overflow
|
10 years ago |
Samuel Thibault
|
dbafc4b732
Make STARPU_MALLOC_ and STARPU_MEMORY_ flags coherent, so that we can pass the latter to starpu_malloc_flags too. Add _flags versions to starpu_malloc_on_node, and add starpu_malloc_on_node_set_default_flags to allow setting the flags used by starpu_malloc_on_node
|
10 years ago |
Samuel Thibault
|
62d5b29384
put in comment why we unset PINNED when we don't have memcpy_peer
|
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 |
Samuel Thibault
|
dc23b85249
extend STARPU_RUNNING_ON_VALGRIND to TSAN
|
11 years ago |
Samuel Thibault
|
528cf10bdd
fix build
|
11 years ago |
Samuel Thibault
|
c8efbb83e8
Inline list heads instead of keeping allocating them
|
11 years ago |
Nathalie Furmento
|
bb61f3808d
update cnrs copyright
|
11 years ago |
Samuel Thibault
|
df8874cc7e
fix warnings
|
11 years ago |
Nathalie Furmento
|
efea5f1a8f
src/ tests/ tools/: fix coding style, curly braces go on a newline
|
11 years ago |
Samuel Thibault
|
271b6a3f7a
use STARPU_MAIN_RAM instead of hardcoded 0
|
11 years ago |
Samuel Thibault
|
2290e3bdab
Add starpu_memory_pin and starpu_memory_unpin
|
11 years ago |
Samuel Thibault
|
a41c4b9ce3
Fix some llvm warnings, nothing serious
|
11 years ago |
Samuel Thibault
|
abb1f7838f
Also take into account STARPU_DISABLE_PINNING env variable and valgrind in starpu_free_flags
|
11 years ago |
Samuel Thibault
|
31b9e769c2
explain why with old versions of CUDA we allocate through tasks
|
11 years ago |
Samuel Thibault
|
c44e7dffbb
fix warnings
|
11 years ago |
Samuel Thibault
|
f433b48230
Add STARPU_SIMGRID_CUDA_MALLOC_COST and STARPU_SIMGRID_QUEUE_MALLOC_COST environment variables to control whether simgrid simulates CUDA costs or not
|
11 years ago |
Samuel Thibault
|
7c6d72edfc
expose memory manager functions to applications
|
11 years ago |