diff options
author | Benjamin Segovia <segovia.benjamin@gmail.com> | 2012-05-11 19:35:31 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-10 16:17:27 -0700 |
commit | 75068394446f80602796fca9959beb0bc5156ca6 (patch) | |
tree | dcccf4f6d803e84d7f664a54eb6a25e11605ae90 /utests/utest_helper.hpp | |
parent | 5dc87dc7f521dd5f35a753d7c7f3990f183e9495 (diff) | |
download | beignet-75068394446f80602796fca9959beb0bc5156ca6.tar.gz |
Made Mandelbrot work on Fulsim (SIMD8 only right now)
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r-- | utests/utest_helper.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp index c17a1e71..67e5dd0f 100644 --- a/utests/utest_helper.hpp +++ b/utests/utest_helper.hpp @@ -126,5 +126,11 @@ extern void cl_test_destroy(void); /* Nicely output the performance counters */ extern void cl_report_perf_counters(cl_mem perf); +/* Read a bmp from file */ +extern int *cl_read_bmp(const char *filename, int *width, int *height); + +/* Write a bmp to a file */ +extern void cl_write_bmp(const int *data, int width, int height, const char *filename); + #endif /* __UTEST_HELPER_HPP__ */ |