Nathalie Furmento
|
5c386a0422
cleaning up of statistics code
|
12 years ago |
Nathalie Furmento
|
2455e3a7b1
fix variable name to disable asynchronous OpenCL and CUDA copy
|
12 years ago |
Nathalie Furmento
|
0ed12ad157
src: use _STARPU_DISP instead of fprintf. It allows to clearly identify StarPU messages
|
12 years ago |
Cyril Roelandt
|
2fcf7e6af2
Add a _STARPU_PTHREAD_CREATE macro and use it.
|
12 years ago |
Cyril Roelandt
|
3f44664066
_starpu_worker_exists_and_can_execute(): Check all implementations, not only implementation 0.
|
12 years ago |
Samuel Thibault
|
889356a345
Avoid creating the whole list of workers just to find one
|
12 years ago |
Samuel Thibault
|
f57b5615d9
Reduce synchronization for running flag
|
12 years ago |
Samuel Thibault
|
f5789e5edc
factorize worker thread initialization, fix threaded profiling by setting up the prof timer
|
12 years ago |
Cyril Roelandt
|
d2d9ce97ca
Fix non-ANSI function declarations found using smatch.
|
12 years ago |
Cyril Roelandt
|
defec827d3
Initialize progression_hook_rwlock and tag_global_rwlock before they have to be used.
|
13 years ago |
Cyril Roelandt
|
0c893dd530
Dynamically initialize progression_hook_rwlock and tag_global_rwlock.
|
13 years ago |
Nathalie Furmento
|
9c1d0e9fb6
Asynchronous copies can also be disabled by configure options --disable-asynchronous-copy, --disable-asynchronous-cuda-copy and --disable-asynchronous-opencl-copy
|
13 years ago |
Nathalie Furmento
|
c0c5adb057
Add environment variables to disable only CUDA or only OpenCL asynchronous copies, namely STARPU_DISABLE_CUDA_ASYNCHRONOUS_COPY and STARPU_DISABLE_OPENCL_ASYNCHRONOUS_COPY
|
13 years ago |
Samuel Thibault
|
f30a1170aa
Replace starpu_force_bus_sampling with bus_calibrate configuration option, as calibration should done carefully during starpu initialization, and not after initialization
|
13 years ago |
Nathalie Furmento
|
8b00244b60
src: declare related driver functions in appropriate .h file
|
13 years ago |
Cyril Roelandt
|
f6963b21cd
Use STARPU_NCPU instead of STARPU_NCPUS.
|
13 years ago |
Cyril Roelandt
|
da37f059a0
Make starpu_driver_run() work with CPU workers.
|
13 years ago |
Cyril Roelandt
|
5b767e5880
Fix a bug that caused starpu_shutdown to crash when running drivers in the application.
|
13 years ago |
Cyril Roelandt
|
5c25ace58a
Fix a bug that caused some CPU drivers to be ran twice.
|
13 years ago |
Cyril Roelandt
|
3675d6b12e
Make the CPU driver public.
|
13 years ago |
Cyril Roelandt
|
574e90baa5
Fix typo in starpu_driver_init().
|
13 years ago |
Cyril Roelandt
|
5cf37a84ec
OpenCL: Make the OpenCL driver API public.
|
13 years ago |
Cyril Roelandt
|
9abd6ebfb0
Rename starpu_run_driver to starpu_driver_run for the sake of consistency.
|
13 years ago |
Cyril Roelandt
|
4794b8e009
Add driver-related functions to the API;
|
13 years ago |
Nathalie Furmento
|
2fb7cca255
src/core/workers.c: make sure the configuration is stored before calling any other action (e.g _starpu_load_bus_performance_files might end up calling void starpu_cuda_set_device(int devid) which needs to access the global configuration)
|
13 years ago |
Samuel Thibault
|
acce0b71ce
Add OpenGL interoperability support
|
13 years ago |
Cyril Roelandt
|
d07c947598
Allow applications to run the OpenCL drivers themselves.
|
13 years ago |
Samuel Thibault
|
1a83af1be4
Make sure users use starpu_conf_init to initialize starpu_conf. Fix some code
|
13 years ago |
Cyril Roelandt
|
f988104459
Allow the application to launch multiple StarPU drivers itself (instead of just one).
|
13 years ago |
Cyril Roelandt
|
5805908fe1
src/core/workers.c: add _starpu_may_launch_driver() in order to factorize some code.
|
13 years ago |