Skip to content

Commit d7bb08e

Browse files
committed
ci: exclude internal/cublas from vet (purego GPU binding)
The cublas package uses the same uintptr-to-unsafe.Pointer pattern as other GPU runtime binding packages for storing C library handles via purego/dlopen. Add it to the vet exclusion list alongside internal/cuda, internal/hip, etc. Triggered by the new Handle.Ptr() method added for the fused encoder kernel orchestrator.
1 parent 4dfd46e commit d7bb08e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
# Run go vet on all packages except those with intentional
1919
# unsafe.Pointer usage for GPU runtime bindings via purego/dlopen.
2020
# These warnings are expected and documented in docs/QUALITY.md.
21-
go vet $(go list ./... | grep -v '/internal/cuda$' | grep -v '/internal/hip$' | grep -v '/internal/opencl$' | grep -v '/internal/cudnn$' | grep -v '/internal/tensorrt$' | grep -v '/internal/fpga$' | grep -v '/internal/sycl$' | grep -v '/internal/metal$' | grep -v '/internal/pjrt$' | grep -v '/internal/nccl$')
21+
go vet $(go list ./... | grep -v '/internal/cuda$' | grep -v '/internal/cublas$' | grep -v '/internal/hip$' | grep -v '/internal/opencl$' | grep -v '/internal/cudnn$' | grep -v '/internal/tensorrt$' | grep -v '/internal/fpga$' | grep -v '/internal/sycl$' | grep -v '/internal/metal$' | grep -v '/internal/pjrt$' | grep -v '/internal/nccl$')
2222
- run: go test -race -timeout 300s ./...

0 commit comments

Comments
 (0)