OpenClCode.cpp 911 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #include "OpenClCode.h"
  2. #include "opencl/float.h"
  3. #include "opencl/double.h"
  4. #include "opencl/doublefloat.h"
  5. #include "opencl/doubledouble.h"
  6. #include "opencl/quaddouble.h"
  7. #include "opencl/fixed64.h"
  8. #include "opencl/fixed128.h"
  9. #include "opencl/fixed512.h"
  10. namespace mnd
  11. {
  12. const char* getFloat_cl() {
  13. return (char*) float_cl;
  14. }
  15. const char* getDouble_cl() {
  16. return (char*) double_cl;
  17. }
  18. const char* getDoubleFloat_cl() {
  19. return (char*) doublefloat_cl;
  20. }
  21. const char* getDoubleDouble_cl() {
  22. return (char*) doubledouble_cl;
  23. }
  24. const char* getQuadDouble_cl() {
  25. return (char*) quaddouble_cl;
  26. }
  27. const char* getFixed64_cl() {
  28. return (char*) fixed64_cl;
  29. }
  30. const char* getFixed128_cl() {
  31. return (char*) fixed128_cl;
  32. }
  33. const char* getFixed512_cl() {
  34. return (char*) fixed512_cl;
  35. }
  36. }