From 5e2dcf4aff14e48c8ca49b1ea1bb200abc43fffc Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 27 Sep 2017 21:57:03 +1300 Subject: Import my CL trampoline from fractal-gen project --- trampoline.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 trampoline.h (limited to 'trampoline.h') diff --git a/trampoline.h b/trampoline.h new file mode 100644 index 0000000..35624a9 --- /dev/null +++ b/trampoline.h @@ -0,0 +1,8 @@ +int tramp_init(const char *preferred_platform); +void tramp_destroy(void); +int tramp_load_kernel(const char *filename); +char *tramp_get_build_log(void); +int tramp_compile_kernel(void); +int tramp_set_kernel_args(unsigned long size, unsigned long iterations); +int tramp_run_kernel(void); +int tramp_copy_data(void **buffer, size_t size); -- cgit v1.1