opencl.h 2.0 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. //===============================================================================================================================================================================================================200
  5. // LOAD KERNEL SOURCE CODE FUNCTION HEADER
  6. //===============================================================================================================================================================================================================200
  7. char *
  8. load_kernel_source(const char *filename);
  9. //===============================================================================================================================================================================================================200
  10. // PRINT ERROR FUNCTION HEADER
  11. //===============================================================================================================================================================================================================200
  12. void
  13. fatal(const char *s);
  14. //===============================================================================================================================================================================================================200
  15. // PRINT OPENCL ERROR FUNCTION HEADER
  16. //===============================================================================================================================================================================================================200
  17. void
  18. fatal_CL(cl_int error, int line_no);
  19. //===============================================================================================================================================================================================================200
  20. // END
  21. //===============================================================================================================================================================================================================200
  22. #ifdef __cplusplus
  23. }
  24. #endif