apps.h 518 B

123456789101112131415161718192021
  1. #ifndef __APPS_H__
  2. #define __APPS_H__
  3. #include "variables.h"
  4. #define MATRIX_ARRAY_SIZE 4096
  5. #define FFT_ARRAY_SIZE 256
  6. #define N_sv 4096
  7. #define D_sv 4096
  8. #define gamma 0.12
  9. #define SVM_ARRAY_SIZE N_sv
  10. void init_speedup_structs (void);
  11. void app_init (char scen_directory[SCEN_DIR_SIZE], char scen_num[SCEN_NUM_SIZE]);
  12. void execute_workload (int lower_bound, int upper_bound);
  13. int get_max_cores_count(app cur_app);
  14. int get_times(app cur_app, int num_of_cores);
  15. float Speedup(app cur_app, int num_of_cores);
  16. #endif