Skip to content

fix: gpucontext struct tokens + handle helpers (v0.30.1)#223

Merged
kolkov merged 1 commit into
mainfrom
fix/gpucontext-struct-tokens
Jun 15, 2026
Merged

fix: gpucontext struct tokens + handle helpers (v0.30.1)#223
kolkov merged 1 commit into
mainfrom
fix/gpucontext-struct-tokens

Conversation

@kolkov

@kolkov kolkov commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Remove broken sentinel methods, add gpucontext v0.21.0 struct tokens + 10 type-safe handle helpers. Fixes BUG-GPUCONTEXT-001.

@kolkov kolkov force-pushed the fix/gpucontext-struct-tokens branch from a6b0309 to e0609f6 Compare June 15, 2026 17:53
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
gpucontext_helpers.go 0.00% 30 Missing ⚠️

📢 Thoughts on this report? Let us know!

- Delete gpucontext_sentinel.go (unexported methods broken cross-package)
- Add gpucontext v0.21.0 dependency (DIP: implementation → abstraction)
- Add 10 handle helpers (DeviceFromHandle/ToHandle etc.)
  Isolates unsafe.Pointer from consumers — enterprise pattern
@kolkov kolkov force-pushed the fix/gpucontext-struct-tokens branch from e0609f6 to 29a0862 Compare June 15, 2026 18:13
@kolkov kolkov merged commit 6b43d47 into main Jun 15, 2026
10 of 11 checks passed
@kolkov kolkov deleted the fix/gpucontext-struct-tokens branch June 15, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant