Document RM-managed resource categories in README#2
Draft
Conversation
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document resource types managed by Nvidia RM
Document RM-managed resource categories in README
Jan 16, 2026
Owner
|
@copilot 先不要写代码,我在为一款国产gpu实现一个类似nvidia rm的功能,目前的框架层实现类似nv的对象层级管理,但现在有一个问题,具体需要管理的资源种类有哪些? |
Author
我在 README 新增了 RM 资源类型概览(commit 04ba47f)并梳理了主要类别:根/客户端与设备层级句柄(NV01_ROOT/NV01_DEVICE_0 等)、各类内存与映射(系统/本地/虚拟、同步点、导出/导入、Fabrics/多播等)、地址空间与上下文(NV01_CONTEXT_DMA、FABRIC/IO/FERMI_VASPACE)、调度与执行通道/引擎(各代 GPFIFO、DMA_COPY、COMPUTE 等)、显示与多媒体单元(显示面、窗口/光标通道、VBlank、视频编解码/NVJPG/OFA)、同步与事件(事件、计时器、信号量、事件缓冲)、调试与性能(Profiler、调试缓冲、访问计数/MMU 故障缓冲、计数器采集)、虚拟化与安全(VGPU/SMC/机密计算)。具体类名和出处行号可见 README 新增段落及 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RM manages GPU resources via NVOC classes; the README now briefly enumerates the key resource categories and points to the generated class list for details.
src/nvidia/generated/g_allclasses.h.Example excerpt:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.