cuda.core: VirtualMemoryResource.modify_allocation(config=...) changes the resource's policy
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
先定位 cuda.core 的 modify_allocation 實作和 resource 建構函式,接著閱讀 test_vmm_allocator_policy_configuration 以及 #1300 中參照的行為。判定 config 是每次呼叫適用還是持久的,包括建構函式的驗證行為,並根據這項決定調整 docstring 和 test。
由索引模型根據 Issue 內容生成。
描述
modify_allocation(buf, size, config=...) assigns the config to the resource before any check, so later allocate() calls and the accessibility properties use it. The docstring describes a per-call policy; test_vmm_allocator_policy_configuration asserts the persistence (see #1300). The assignment also skips the constructor's validation (RDMA support, host-location handling, dict configs). Decide per-call or persistent, then align the docstring and the test.
- 主要語言
- Cython
- 星號
- 3.4k
- 分支
- 335
- 平均合併
- 2 天 19 分鐘
- 30 天內合併 PR
- 126
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NVIDIA/cuda-python 的其他 Issue
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRs可能已有人在做 @rwgk 於 7 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
NVIDIA/cuda-python#2952 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[DOC]: cuda.core 1.1.1 note misstates program cache permissions可能已有人在做 @leofang 於 21 天前認領。 未關閉documentation P1
難度 1/5 1 小時以內 新手友好度 88/100
NVIDIA/cuda-python#2717 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[DOC]: `PinnedMemoryResource.allocate` documents no parameters可能已有人在做 @Andy-Jost 於 21 天前認領。 未關閉cuda.core documentation P1
難度 1/5 1-3 小時 新手友好度 90/100
NVIDIA/cuda-python#2712 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookup可能已有人在做 @rwgk 於 21 天前認領。 未關閉triage
難度 2/5 1-3 小時 新手友好度 82/100
NVIDIA/cuda-python#2646 · 1 個 reaction ·
維護者通常 1 天內回覆
-
[FEA]: Support inheritance from Buffer可能已有人在做 @leofang 於 21 天前認領。 未關閉cuda.core triage
難度 2/5 1-3 小時 新手友好度 62/100
NVIDIA/cuda-python#2435 · 1 則留言 ·
維護者通常 1 天內回覆
查看 NVIDIA/cuda-python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
ROCm/rocm-systems#13525 ·
維護者通常 2 天內回覆
-
難度 2/5 1 小時以內 新手友好度 80/100
-
[Bug]: copy-assigning a boundary condition does not compile: `Bc::operator=` assigns to the `const` reference `m_domain`可能已有人在做 @gouarin 於 6 天前認領。 未關閉bug good first issue
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
amr bug 🔥 diagnostics outputs
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆