-
- Downloads
[add] memory scheduling constraint
These extensions are defined to constraint the scheduling with constrainted memory resources. The idea is to let the user to define memory attributs for its OpenMP task and to set memory limits. The scheduler will try to do the best by memory usage under the memory limits. Attribut is given by calling new OpenMP runtime function. - omp_set_task_alloc_size(rsrc,size,ptr): to give to the runtime information on the usage of memory resource for the next created task. - omp_set_task_free_size(rsrc,size,ptr): to give to the runtime information information on task that may potential reduce memory by size bytes. - omp_info_alloc_memory(rsrc, size, ptr): used to indicate that 'size' byte on the resource 'rsrc' is allocated. - omp_info_free_memory(rsrc, size, ptr): used to indicate that 'size' byte on the resource 'rsrc' is freed. - omp_set_memory_limit( rsrc, size_max, percent ): to set limits on the set of resources in rsrc (xored value). The percent (float) will be used for future usage. By default there is no limit for each kind resource, nevertheless the defined limit has default value given by env. var. KAAPI_SCHED_MEM_LIMIT before any call to omp_set_memory_limit. Add counter of used memory from declaration of the task' allocation and the free call in the program. Katracereader generates memory.csv
Showing
- runtime/CMakeLists.txt 17 additions, 1 deletionruntime/CMakeLists.txt
- runtime/src/README.kaapi_extensions 23 additions, 0 deletionsruntime/src/README.kaapi_extensions
- runtime/src/dllexports 5 additions, 0 deletionsruntime/src/dllexports
- runtime/src/include/30/ompt.h.var 5 additions, 1 deletionruntime/src/include/30/ompt.h.var
- runtime/src/include/40/omp.h.var 24 additions, 2 deletionsruntime/src/include/40/omp.h.var
- runtime/src/include/40/ompt.h.var 21 additions, 2 deletionsruntime/src/include/40/ompt.h.var
- runtime/src/include/45/omp.h.var 24 additions, 2 deletionsruntime/src/include/45/omp.h.var
- runtime/src/include/45/ompt.h.var 20 additions, 2 deletionsruntime/src/include/45/ompt.h.var
- runtime/src/include/50/omp.h.var 25 additions, 2 deletionsruntime/src/include/50/omp.h.var
- runtime/src/include/50/ompt.h.var 26 additions, 2 deletionsruntime/src/include/50/ompt.h.var
- runtime/src/kaapi_ompt.c 35 additions, 1 deletionruntime/src/kaapi_ompt.c
- runtime/src/kaapi_trace.h 16 additions, 1 deletionruntime/src/kaapi_trace.h
- runtime/src/kaapi_trace_lib.c 24 additions, 0 deletionsruntime/src/kaapi_trace_lib.c
- runtime/src/kaapi_trace_rt.c 2 additions, 1 deletionruntime/src/kaapi_trace_rt.c
- runtime/src/katracereader.cpp 69 additions, 1 deletionruntime/src/katracereader.cpp
- runtime/src/kmp.h 26 additions, 1 deletionruntime/src/kmp.h
- runtime/src/kmp_config.h.cmake 2 additions, 0 deletionsruntime/src/kmp_config.h.cmake
- runtime/src/kmp_ftn_entry.h 53 additions, 2 deletionsruntime/src/kmp_ftn_entry.h
- runtime/src/kmp_ftn_os.h 24 additions, 4 deletionsruntime/src/kmp_ftn_os.h
- runtime/src/kmp_hws.cpp 50 additions, 4 deletionsruntime/src/kmp_hws.cpp
Loading
Please register or sign in to comment