1
0

OpenClCode.cpp 810 B

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