Skip to content

04-Inference Engine ​

Lightweight CUDA inference engine demonstrating how to combine GEMM, Tensor, memory management, and simple weight file formats into a runnable inference pipeline.

Contents ​

  • InferenceEngine: Multi-layer linear network loading, execution, and timing
  • Tensor: GPU Tensor wrapper and basic operators
  • MemoryPool: Cached GPU memory pool
  • StreamManager: Simple multi-stream manager
  • Config / Logger: Configuration and logging utilities

Build ​

When 04-inference-engine is added from the repository root, it expects the parent project to provide the existing TensorCraft::tensorcraft target. The root CMakeLists.txt already enforces this by requiring BUILD_TENSORCRAFT=ON before adding the inference module.

bash
cmake --preset default
cmake --build --preset default
ctest --preset default

Sub-topics ​

References ​

Released under the MIT License.