Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 3, 2025

  • Analyzed repository structure and build system
  • Confirmed project builds successfully with CMake
  • Identified missing components: jit_operation_pp structure and LLVM integration
  • Add LLVM ORC v2 dependency to CMake build system (cmake/libs/llvm.cmake)
  • Create executor_details directory and cpu_jit_details.h file structure
  • Define jit_operation_pp structure with opData (void*) and opType (string) fields
  • Implement compile-time function to analyze opType strings and build runtime function (stub)
  • Implement runtime-compiled function that casts void* to actual types and calls fuseBack (stub)
  • Add fuseBack template function that handles ReadBack operation fusion logic (basic template)
  • Create tests/JIT directory and test_cpu_jit.h with unit tests
  • Basic tests pass without LLVM dependency
  • Test with LLVM integration enabled
  • Implement full runtime compilation workflow with LLVM ORCv2
  • Ensure LLVM libraries are statically linked to resulting binaries
  • Test complete runtime compilation workflow

Basic infrastructure is in place. The CPUJITCompiler class provides the interface for runtime compilation of ReadBack operations. Next step is to enable LLVM integration and implement the full compilation workflow.

Fixes #64.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a CPU runtime compilation step, that allows to fuse the ReadBack operations present in an std::vector<JIT_Operation_pp>

2 participants