Back to Home
Meta Engineering··Official Labs

Extending LLDB to Debug Applications That Span CPUs and GPUs

中文摘要

为 LLDB 构建了厂商中立的插件架构,支持在单个会话中同时调试 CPU 和 GPU,简化了异构 AI 应用的开发与调试流程。

English Summary

LLDB introduced a vendor-neutral plugin architecture to debug CPU and GPU applications simultaneously within a single session, streamlining the debugging process for heterogeneous AI workloads.

Original Excerpt

We built a vendor-neutral accelerator plugin architecture in lldb-server for debugging applications that span CPUs and GPUs. It separates shared debugger infrastructure from hardware-specific device control. The design represents the CPU and GPU as separate debugger processes while presenting them in one debugging session. Modern AI applications rarely execute in one place. A workload can [...] Read More...