1 #ifndef sstmac_software_libraries_compute_compute_api_h 2 #define sstmac_software_libraries_compute_compute_api_h 50 long ksize,
long lsize,
55 #define SSTMAC_sleep(...) sstmac_sleep(__VA_ARGS__) 56 #define SSTMAC_usleep(...) sstmac_usleep(__VA_ARGS__) 57 #define SSTMAC_compute(...) sstmac_compute(__VA_ARGS__) 58 #define SSTMAC_memread(...) sstmac_memread(__VA_ARGS__) 59 #define SSTMAC_memwrite(...) sstmac_memwrite(__VA_ARGS__) 60 #define SSTMAC_memcpy(...) sstmac_memcpy(__VA_ARGS__) 61 #define SSTMAC_compute_detailed(...) sstmac_compute_detailed(__VA_ARGS__) 62 #define SSTMAC_compute_loop(...) sstmac_compute_loop(__VA_ARGS__) 63 #define SSTMAC_compute_loop2(...) sstmac_compute_loop2(__VA_ARGS__) 64 #define SSTMAC_compute_loop3(...) sstmac_compute_loop3(__VA_ARGS__) 65 #define SSTMAC_compute_loop4(...) sstmac_compute_loop4(__VA_ARGS__) void sstmac_memcpy(long bytes)
void sstmac_compute_detailed(long nflops, long nintops, long bytes)
void sstmac_compute_loop(long num_loops, int nflops_per_loop, int nintops_per_loop, int bytes_per_loop)
void sstmac_memwrite(long bytes)
void sstmac_compute_loop4(long isize, long jsize, long ksize, long lsize, int nflops_per_loop, int nintops_per_loop, int bytes_per_loop)
int sstmac_usleep(unsigned int usecs)
void sstmac_compute_loop3(long isize, long jsize, long ksize, int nflops_per_loop, int nintops_per_loop, int bytes_per_loop)
int sstmac_sleep(unsigned int secs)
void sstmac_compute_loop2(long isize, long jsize, int nflops_per_loop, int nintops_per_loop, int bytes_per_loop)
void sstmac_compute(double secs)
void sstmac_memread(long bytes)