Mentions légales du service

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

starpu: remove deprecated and incomplete code to switch to/from fake models

parent a624ec7d
No related branches found
No related tags found
1 merge request!527Small updates on the StarPU code
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
#define CHAMELEON_CL_CB_HEADER(name) \ #define CHAMELEON_CL_CB_HEADER(name) \
extern struct starpu_perfmodel*cl_##name##_save; \ extern struct starpu_perfmodel*cl_##name##_save; \
extern struct starpu_perfmodel cl_##name##_fake; \
void cl_##name##_callback(); \ void cl_##name##_callback(); \
void profiling_display_##name##_info(void) void profiling_display_##name##_info(void)
......
...@@ -64,11 +64,6 @@ ...@@ -64,11 +64,6 @@
#endif #endif
#define CODELETS_ALL(cl_name, cpu_func_name, gpu_func_name, _original_location_, gpu_flags) \ #define CODELETS_ALL(cl_name, cpu_func_name, gpu_func_name, _original_location_, gpu_flags) \
struct starpu_perfmodel cl_##cl_name##_fake = { \
.type = STARPU_HISTORY_BASED, \
.symbol = "fake_"#cl_name \
}; \
\
struct starpu_perfmodel cl_##cl_name##_model = { \ struct starpu_perfmodel cl_##cl_name##_model = { \
.type = STARPU_HISTORY_BASED, \ .type = STARPU_HISTORY_BASED, \
.symbol = ""#cl_name \ .symbol = ""#cl_name \
...@@ -92,11 +87,6 @@ ...@@ -92,11 +87,6 @@
void cl_##cl_name##_restore_where(void) \ void cl_##cl_name##_restore_where(void) \
{ \ { \
cl_##cl_name.where = (_original_location_); \ cl_##cl_name.where = (_original_location_); \
} \
\
void cl_##cl_name##_restore_model(void) \
{ \
cl_##cl_name.model = &cl_##cl_name##_model; \
} }
#if defined(CHAMELEON_SIMULATION) #if defined(CHAMELEON_SIMULATION)
...@@ -117,8 +107,6 @@ ...@@ -117,8 +107,6 @@
#define CODELETS_ALL_HEADER(name) \ #define CODELETS_ALL_HEADER(name) \
CHAMELEON_CL_CB_HEADER(name); \ CHAMELEON_CL_CB_HEADER(name); \
void cl_##name##_load_fake_model(void); \
void cl_##name##_restore_model(void); \
extern struct starpu_codelet cl_##name; \ extern struct starpu_codelet cl_##name; \
void cl_##name##_restrict_where(uint32_t where); \ void cl_##name##_restrict_where(uint32_t where); \
void cl_##name##_restore_where(void) void cl_##name##_restore_where(void)
......
...@@ -43,14 +43,4 @@ void RUNTIME_profiling_cdisplay_all(void); ...@@ -43,14 +43,4 @@ void RUNTIME_profiling_cdisplay_all(void);
void RUNTIME_profiling_ddisplay_all(void); void RUNTIME_profiling_ddisplay_all(void);
void RUNTIME_profiling_sdisplay_all(void); void RUNTIME_profiling_sdisplay_all(void);
void CHAMELEON_zload_FakeModel();
void CHAMELEON_cload_FakeModel();
void CHAMELEON_dload_FakeModel();
void CHAMELEON_sload_FakeModel();
void CHAMELEON_zrestore_Model();
void CHAMELEON_crestore_Model();
void CHAMELEON_drestore_Model();
void CHAMELEON_srestore_Model();
#endif /* _runtime_profiling_h_ */ #endif /* _runtime_profiling_h_ */
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