Skip to content

[WIP] Add initial structure for sparkplus library#2

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/create-sparkplus-library
Draft

[WIP] Add initial structure for sparkplus library#2
Copilot wants to merge 1 commit into
mainfrom
copilot/create-sparkplus-library

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

  • Explore repository (empty, only LICENSE present)
  • Create CMakeLists.txt — interface library + pybind11 extension + tests
  • Create include/sparkplus/constants.hpp
  • Create include/sparkplus/exceptions.hpp — inline constructors for Python linkability
  • Create include/sparkplus/types.hpp — enums, Tensor, InputBatch, OutputBatch, callbacks
  • Create include/sparkplus/device_info.hpp — CpuInfo, GpuInfo, DeviceInfo, DeviceProbe
  • Create include/sparkplus/memory_manager.hpp — IMemoryPool, CpuMemoryPool, GpuMemoryPool, MemoryManager
  • Create include/sparkplus/stream_manager.hpp — IStreamManager, CudaStreamManager
  • Create include/sparkplus/input_feed.hpp — IInputFeed, IOutputFeed, InputFeed, OutputFeed
  • Create include/sparkplus/session_manager.hpp — ISession, OnnxSession, SessionPool
  • Create include/sparkplus/pipeline.hpp — IPipelineStage, IPipeline, Parallel/Cascade/HybridPipeline
  • Create include/sparkplus/adr.hpp — IRunnable, IAdr, Adr, MultiModelAdr, factory functions
  • Create include/sparkplus/sparkplus.hpp — umbrella header + SPARKPLUS_API macro
  • Create python/bindings.cpp — pybind11 bindings (enums, structs, exceptions, abstract interfaces)
  • Create python/sparkplus/__init__.py — Python package
  • Create python/sparkplus/py.typed — PEP 561 marker
  • Create pyproject.toml — scikit-build-core wheel config
  • Create tests/test_interfaces.cpp — static_assert compile-only tests
  • Create tests/test_python.py — Python import/enum/struct smoke tests
  • Create .gitignore
  • Verify headers compile (g++ -std=c++17)
  • Run Python smoke tests

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI requested a review from ZBDat March 20, 2026 08:54
Copilot stopped work on behalf of ZBDat due to an error March 20, 2026 08:54
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.

2 participants