[PR #100] [MERGED] fix(libcuda): fix cuDeviceGetUuid() when the UUID contains 0x00 #159

Closed
opened 2026-05-05 03:26:56 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/100
Author: @XuehaiPan
Created: 10/4/2023
Status: Merged
Merged: 10/5/2023
Merged by: @XuehaiPan

Base: mainHead: fix-cuDeviceGetUuid


📝 Commits (5)

  • 4fb0372 fix(libcuda): fix cuDeviceGetUuid() when the UUID contains 0x00
  • 97e9a79 docs(CHANGELOG): update CHANGELOG
  • f09ce5a lint: appease linters
  • 66566bb fix(libcuda): use ubyte instead of byte
  • 8a30257 fix(libcuda): fix cuDeviceGetUuid() when the UUID contains 0x00

📊 Changes

7 files changed (+16 additions, -16 deletions)

View changed files

📝 .pre-commit-config.yaml (+4 -4)
📝 CHANGELOG.md (+1 -1)
📝 nvitop/api/device.py (+1 -1)
📝 nvitop/api/libcuda.py (+4 -4)
📝 nvitop/api/utils.py (+1 -1)
📝 nvitop/select.py (+4 -4)
📝 pyproject.toml (+1 -1)

📄 Description

Issue Type

  • Bug fix

Description

Change string buffer to a byte array for argument passing.

Motivation and Context

Fixes #99


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/XuehaiPan/nvitop/pull/100 **Author:** [@XuehaiPan](https://github.com/XuehaiPan) **Created:** 10/4/2023 **Status:** ✅ Merged **Merged:** 10/5/2023 **Merged by:** [@XuehaiPan](https://github.com/XuehaiPan) **Base:** `main` ← **Head:** `fix-cuDeviceGetUuid` --- ### 📝 Commits (5) - [`4fb0372`](https://github.com/XuehaiPan/nvitop/commit/4fb0372af1dc222ef5dfcc09bf3b00009ad333a7) fix(libcuda): fix `cuDeviceGetUuid()` when the UUID contains `0x00` - [`97e9a79`](https://github.com/XuehaiPan/nvitop/commit/97e9a7993751b1f8d44770d7dac856dedef87026) docs(CHANGELOG): update CHANGELOG - [`f09ce5a`](https://github.com/XuehaiPan/nvitop/commit/f09ce5a8894d999731195b46f54dd8da42dc7f06) lint: appease linters - [`66566bb`](https://github.com/XuehaiPan/nvitop/commit/66566bbf2aacfc8902a67988b898454bcee47037) fix(libcuda): use `ubyte` instead of `byte` - [`8a30257`](https://github.com/XuehaiPan/nvitop/commit/8a30257eb96903239f5897968d86cd66fd416191) fix(libcuda): fix `cuDeviceGetUuid()` when the UUID contains `0x00` ### 📊 Changes **7 files changed** (+16 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.pre-commit-config.yaml` (+4 -4) 📝 `CHANGELOG.md` (+1 -1) 📝 `nvitop/api/device.py` (+1 -1) 📝 `nvitop/api/libcuda.py` (+4 -4) 📝 `nvitop/api/utils.py` (+1 -1) 📝 `nvitop/select.py` (+4 -4) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description <!-- Provide a descriptive summary of the changes in the title above --> #### Issue Type <!-- Pick relevant types and delete the rest --> - Bug fix #### Description <!-- Describe the changes in detail --> Change string buffer to a byte array for argument passing. #### Motivation and Context <!-- Why are these changes required? --> <!-- What problems do these changes solve? --> <!-- Link to relevant issues --> Fixes #99 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:26:56 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#159
No description provided.