Tới nội dung
Meta Engineering Blog·· 4 ngày trướcĐiểm AI40

Meta extends LLDB with vendor-neutral accelerator plugin architecture for CPU-GPU debugging

Extending LLDB to Debug Applications That Span CPUs and GPUs

Nội dung này chưa có bằng ngôn ngữ của bạn; đang hiển thị bằng English.

Tóm tắt bằng AI

Meta has built a vendor-neutral accelerator plugin architecture in lldb-server that lets LLDB debug applications spanning CPUs and GPUs in a single session. The design represents the CPU and GPU as separate LLDB targets, each with its own architecture, threads, registers and address space, while a plugin translates vendor device debugging APIs into LLDB concepts. GPU support activates only when the app uses a supported GPU runtime, so CPU-only debugging keeps the existing native path without added overhead.

Nguồn:Meta Engineering Blog · engineering.fb.com