IterationCompiler.h 633 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef MANDEL_ITERATIONCOMPILER_H
  2. #define MANDEL_ITERATIONCOMPILER_H
  3. #include "Generators.h"
  4. #include "ClGenerators.h"
  5. #include "IterationIR.h"
  6. #include <memory>
  7. namespace mnd
  8. {
  9. struct ExecData;
  10. class CompiledGenerator;
  11. class CompiledClGenerator;
  12. // forward declare
  13. class MandelContext;
  14. class MandelDevice;
  15. mnd::ExecData compile(mnd::MandelContext& mndCtxt);
  16. }
  17. void squareTest();
  18. namespace mnd
  19. {
  20. CompiledGenerator compile(const ir::Formula& formula);
  21. std::unique_ptr<MandelGenerator> compileCl(const ir::Formula& formula, const MandelDevice& md);
  22. }
  23. #endif // MANDEL_ITERATIONCOMPILER_H