OpenCL_helper_library.h 299 B

1234567891011121314151617
  1. #ifndef OPENCL_HELPER_LIBRARY_H
  2. #define OPENCL_HELPER_LIBRARY_H
  3. #include <CL/cl.h>
  4. #include <stdio.h>
  5. #include <sys/time.h>
  6. // Function prototypes
  7. char *load_kernel_source(const char *filename);
  8. long long get_time();
  9. void fatal(const char *s);
  10. void fatal_CL(cl_int error, int line_no);
  11. #endif