Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4a1c13cc authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

starpu/codelet/map: add debug information

parent 1de599d7
No related branches found
No related tags found
1 merge request!401Add all the architecture to manage multi-precision data descriptors.
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
* *
* @brief Chameleon map StarPU codelet * @brief Chameleon map StarPU codelet
* *
* @version 1.2.0 * @version 1.3.0
* @author Mathieu Faverge * @author Mathieu Faverge
* @author Florent Pruvost * @author Florent Pruvost
* @date 2022-02-22 * @date 2023-07-06
* *
*/ */
#include "chameleon_starpu.h" #include "chameleon_starpu.h"
...@@ -49,11 +49,15 @@ void INSERT_TASK_map( const RUNTIME_option_t *options, ...@@ -49,11 +49,15 @@ void INSERT_TASK_map( const RUNTIME_option_t *options,
struct starpu_codelet *codelet = &cl_map; struct starpu_codelet *codelet = &cl_map;
void (*callback)(void*) = options->profiling ? cl_map_callback : NULL; void (*callback)(void*) = options->profiling ? cl_map_callback : NULL;
char *cl_name = "map";
CHAMELEON_BEGIN_ACCESS_DECLARATION; CHAMELEON_BEGIN_ACCESS_DECLARATION;
CHAMELEON_ACCESS_RW(A, Am, An); CHAMELEON_ACCESS_RW(A, Am, An);
CHAMELEON_END_ACCESS_DECLARATION; CHAMELEON_END_ACCESS_DECLARATION;
cl_name = chameleon_codelet_name( cl_name, 1,
A->get_blktile( A, Am, An ) );
rt_starpu_insert_task( rt_starpu_insert_task(
codelet, codelet,
STARPU_VALUE, &A, sizeof(CHAM_desc_t*), STARPU_VALUE, &A, sizeof(CHAM_desc_t*),
...@@ -67,7 +71,7 @@ void INSERT_TASK_map( const RUNTIME_option_t *options, ...@@ -67,7 +71,7 @@ void INSERT_TASK_map( const RUNTIME_option_t *options,
STARPU_CALLBACK, callback, STARPU_CALLBACK, callback,
STARPU_EXECUTE_ON_WORKER, options->workerid, STARPU_EXECUTE_ON_WORKER, options->workerid,
#if defined(CHAMELEON_CODELETS_HAVE_NAME) #if defined(CHAMELEON_CODELETS_HAVE_NAME)
STARPU_NAME, "map", STARPU_NAME, cl_name,
#endif #endif
0); 0);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment