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 timingTensor: GPU Tensor wrapper and basic operatorsMemoryPool: Cached GPU memory poolStreamManager: Simple multi-stream managerConfig/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.
Build from the repository root (recommended)
bash
cmake --preset default
cmake --build --preset default
ctest --preset default