diff options
author | David Phillips <david@sighup.nz> | 2017-09-27 21:57:03 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-09-27 21:57:03 +1300 |
commit | 5e2dcf4aff14e48c8ca49b1ea1bb200abc43fffc (patch) | |
tree | c5cdb8ba8d6011659a383c8c2173f1173b105707 /trampoline.h | |
parent | 28e1fc9c3cb33386d7d218d654163e64ba1b48b4 (diff) | |
download | sand-leek-5e2dcf4aff14e48c8ca49b1ea1bb200abc43fffc.tar.xz |
Import my CL trampoline from fractal-gen project
Diffstat (limited to 'trampoline.h')
-rw-r--r-- | trampoline.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |