KMP-MPI/src/util.h

17 lines
336 B
C
Raw Normal View History

2021-03-15 20:04:23 +00:00
#ifndef KMP_UTIL_H
#define KMP_UTIL_H
void print_array(int *, int);
2021-03-19 16:56:57 +00:00
char *read_file(char *filepath, int *len);
2021-03-21 13:30:02 +00:00
void apply_shift(int, int *, int);
int sum_array(int *, int);
2021-03-27 11:32:38 +00:00
char *get_text_file(int argc, char **argv);
2021-03-27 13:28:35 +00:00
char *read_file_portion(char *filepath, int size, int rank, int *portion_len, int *remain);
2021-03-27 11:55:39 +00:00
2021-03-15 20:04:23 +00:00
#endif //KMP_UTIL_H