mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-03-21 12:20:57 +08:00
docs: Update README files to include information on extending GPU driver behavior with eBPF and the gpu_ext project
This commit is contained in:
@@ -477,6 +477,8 @@ The `cuda_events` tool supports these options:
|
||||
|
||||
## Next Steps
|
||||
|
||||
Beyond tracing, eBPF can also extend GPU driver behavior—see our [gpu_ext project](https://github.com/eunomia-bpf/gpu_ext) for GPU scheduling and memory offloading via BPF struct_ops ([LPC 2024 talk](https://lpc.events/event/19/contributions/2168/)).
|
||||
|
||||
Once you're comfortable with this basic CUDA tracing tool, you could extend it to:
|
||||
|
||||
1. Add support for more CUDA API functions
|
||||
|
||||
@@ -483,6 +483,8 @@ cudaFree: 0.00 µs
|
||||
|
||||
## 下一步
|
||||
|
||||
除了追踪,eBPF 还可以扩展 GPU 驱动行为——参见我们的 [gpu_ext 项目](https://github.com/eunomia-bpf/gpu_ext),通过 BPF struct_ops 实现 GPU 调度和内存卸载([LPC 2024 演讲](https://lpc.events/event/19/contributions/2168/))。
|
||||
|
||||
一旦你熟悉了这个基本的CUDA追踪工具,你可以扩展它来:
|
||||
|
||||
1. 添加对更多CUDA API函数的支持
|
||||
|
||||
Reference in New Issue
Block a user