Nathalie Furmento
|
d1237bf02e
src/core/sched_ctx.c: make sure sched_ctx is valid
|
8 years ago |
Nathalie Furmento
|
7189993589
src/core/workers.c: use _STARPU_DEBUG instead of printf
|
8 years ago |
Andra Hugo
|
4436cde002
forgot copyrights
|
8 years ago |
Andra Hugo
|
15103b9723
GPU partitioning using contexts, and fixing dmda to consider the pipeline len
|
8 years ago |
Nathalie Furmento
|
b9cd261dbb
src: fix cppcheck warnings
|
8 years ago |
Samuel Thibault
|
f315f9f0eb
fix warnings
|
8 years ago |
Nathalie Furmento
|
ea326f4d15
src: add character in front of macros STARPU_MALLOC, STARPU_CALLOC and STARPU_REALLOC
|
8 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
|
8 years ago |
Andra Hugo
|
fe1885bdbe
fix heteroprio with contexts (the ctx id sent to the callback function as a parameter)
|
8 years ago |
Samuel Thibault
|
167ee3f75d
fix warnings
|
8 years ago |
Samuel Thibault
|
7b2dd52abc
shut up compiler warning
|
8 years ago |
Samuel Thibault
|
782e791fd8
optimize starpu_sched_ctx_contains_worker and starpu_sched_ctx_contains_type_of_worker
|
8 years ago |
Samuel Thibault
|
b2afb73fe8
Add starpu_sched_ctx_get_workers_list_raw, much less costly than starpu_sched_ctx_get_workers_list
|
8 years ago |
Olivier Aumage
|
52ea41d70b
- add the possibility to associate some user data to sched contexts (needed for some INTERTWinE work)
|
8 years ago |
Samuel Thibault
|
6b863c6ee1
make sure that _starpu_get_worker_struct doesn't overflow. Inline starpu_worker_get_count to make it not too expensive
|
8 years ago |
Olivier Aumage
|
f8a3795c63
- fix native Fortran support for fstarpu_sched_ctx_create
|
8 years ago |
Olivier Aumage
|
a2e45b48a0
- implement full native Fortran support for fstarpu_sched_ctx_create
|
8 years ago |
Samuel Thibault
|
7c48d12020
'nowhere' tasks may get completed in the main thread, so we have to deal with it
|
9 years ago |
Terry Cojean
|
e780abfe9f
Fix some problem with contexts created with r17654 with minimal changes. Since then, barriers do not return 0 upon success but return the amount of waited tasks.
|
9 years ago |
Nathalie Furmento
|
6cc8dcb563
fix bugs detected by coverity
|
9 years ago |
Nathalie Furmento
|
477cb1f811
src: fixes for minor warnings
|
9 years ago |
Samuel Thibault
|
17578921cf
fix memleak
|
9 years ago |
Samuel Thibault
|
160b44ac45
inline the trivial functions accessing starpu_config
|
9 years ago |
Samuel Thibault
|
9897962e89
avoid expensive loop when not using contexts
|
9 years ago |
Samuel Thibault
|
8e3f965cb6
optimize _starpu_get_nsched_ctxs a bit
|
9 years ago |
Samuel Thibault
|
3c81d54382
Reduce a big overhead in starpu_pthread_mutex_lock/unlock by only checking for the sched mutex when locking a sched mutex
|
9 years ago |
Nathalie Furmento
|
185ba72226
src/core/sched_ctx.c: for loop initial declarations are only allowed in c99 mode
|
9 years ago |
Samuel Pitoiset
|
bed5c8e317
core: do not create a sched_ctx when the user uses invalid worker IDs
|
9 years ago |
Samuel Thibault
|
877d29d194
Warn when two workers are bound to the same cpu. Support ranges in STARPU_WORKERS_CPUID
|
9 years ago |
Samuel Pitoiset
|
90735f9c0b
core: remove duplicated code in starpu_sched_ctx_bind_current_thread_to_cpuid()
|
9 years ago |