Skip to content

test: validate OpenCL error status under V3 - #39

Merged
antono3 merged 1 commit into
masterfrom
fix/v3-opencl-error-tests
Sep 23, 2026
Merged

antono3 merged 1 commit into
masterfrom
fix/v3-opencl-error-tests

Conversation

@antono3

@antono3 antono3 commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Use one assertion helper for OpenCLError type and status in the OpenCL convenience tests. This preserves the checks while avoiding V3's incorrect C generation for an assert err is OpenCLError followed by another type test in the same error block.

Verification

  • Strict V3 frontend: all 5 OpenCL test files pass.
  • Stable V compiler: convenience_test.v passes.
  • v fmt -verify convenience_test.v and git diff --check pass.

This changes tests only; the public OpenCL API and runtime behavior are unchanged.

@antono3
antono3 merged commit f326604 into master Sep 23, 2026
8 checks passed
@antono3
antono3 deleted the fix/v3-opencl-error-tests branch September 23, 2026 19:21
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