Skip to content

handle missing vendor info in OpenCL version string gracefully#457

Merged
christiangnrd merged 2 commits into
mainfrom
sds/no_vendor
Jul 17, 2026
Merged

handle missing vendor info in OpenCL version string gracefully#457
christiangnrd merged 2 commits into
mainfrom
sds/no_vendor

Conversation

@simeonschaub

Copy link
Copy Markdown
Member

On my laptop, XRT advertises the NPU via OpenCL, but the version returned by the query is just "OpenCL 1.0" without any vendor info. Handle that case gracefully so at least OpenCL.versioninfo() doesn't error

On my laptop, XRT advertises the NPU via OpenCL, but the version returned by the query is just `"OpenCL 1.0"` without any vendor info. Handle that case gracefully so at least `OpenCL.versioninfo()` doesn't error
@christiangnrd

Copy link
Copy Markdown
Member

Can you rebase?

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.85%. Comparing base (37b6513) to head (96d0a60).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #457   +/-   ##
=======================================
  Coverage   80.85%   80.85%           
=======================================
  Files          13       13           
  Lines         914      914           
=======================================
  Hits          739      739           
  Misses        175      175           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christiangnrd

Copy link
Copy Markdown
Member

@christiangnrd
christiangnrd merged commit d2e0a75 into main Jul 17, 2026
23 of 26 checks passed
@christiangnrd
christiangnrd deleted the sds/no_vendor branch July 17, 2026 19:31
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.

2 participants