|
double | median (std::vector< std::chrono::duration< double, std::milli >> scores) |
|
void | print_time (const std::string &file_name, const std::string &kernel_name, const std::vector< std::string > &header_text, const std::vector< double > &time_vector) |
|
template<typename T > |
void | init_buffer (Halide::Buffer< T > &buf, T val) |
|
template<typename T > |
void | print_buffer (const Halide::Buffer< T > &buf) |
|
template<typename T > |
void | copy_buffer (const Halide::Buffer< T > &from, Halide::Buffer< T > &to) |
|
template<typename T > |
void | compare_buffers_approximately (const std::string &test, const Halide::Buffer< T > &result, const Halide::Buffer< T > &expected, float threshold) |
|
template<typename T > |
void | compare_buffers_approximately (const std::string &test, const Halide::Buffer< T > &result, const Halide::Buffer< T > &expected) |
|
template<typename T > |
void | compare_4D_buffers (const std::string &test, const Halide::Buffer< T > &result, const Halide::Buffer< T > &expected, int box) |
|
template<typename T > |
void | compare_buffers (const std::string &test, const Halide::Buffer< T > &result, const Halide::Buffer< T > &expected) |
|
template<typename T > |
void | compare_dist_buffers (const std::string &test, const Halide::Buffer< T > &expected_result) |
|
template<typename T , typename C > |
void | store_dist_results (const std::string &test, int rank, const Halide::Buffer< T > &result) |
|
void | combine_dist_results (const std::string &test, std::vector< int > dims, int num_ranks) |
|
void | print_test_results (const std::string &test, bool success) |
| success: a boolean indicating whether the test succeeded. More...
|
|
template<typename T > |
void | init_2D_buffer_interleaving (Halide::Buffer< T > &buf, T val1, T val2) |
| Create an array {val1, val2, val1, val2, val1, val2, val1, val2, ...}. More...
|
|
template<typename T >
void init_2D_buffer_interleaving |
( |
Halide::Buffer< T > & |
buf, |
|
|
T |
val1, |
|
|
T |
val2 |
|
) |
| |
|
inline |
Create an array {val1, val2, val1, val2, val1, val2, val1, val2, ...}.
Definition at line 241 of file utils.h.