Commit graph

1813 commits

Author SHA1 Message Date
dependabot[bot]
0ddc18f6a9
Bump the github-actions group with 2 updates (#2762)
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 11s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 1s
Presubmit / Check code format (push) Failing after 1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-11-arm (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Presubmit / Check Test Triggers (push) Has been cancelled
Presubmit / Build and Cache POCL (push) Has been cancelled
Presubmit / Run Tests (pocl) (push) Has been cancelled
Bumps the github-actions group with 2 updates:
[actions/checkout](https://github.com/actions/checkout) and
[actions/cache](https://github.com/actions/cache).

Updates `actions/checkout` from 6 to 7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>block checking out fork pr for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the
minor-actions-dependencies group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li>
<li>Bump js-yaml from 4.1.0 to 4.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li>
<li>Bump <code>@​actions/core</code> and
<code>@​actions/tool-cache</code> and Remove uuid by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li>
<li>upgrade module to esm and update dependencies by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li>
<li>getting ready for checkout v7 release by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2464">actions/checkout#2464</a></li>
<li>update error wording by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2467">actions/checkout#2467</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.3...v7.0.0">https://github.com/actions/checkout/compare/v6.0.3...v7.0.0</a></p>
<h2>v6.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li><strong>[BREAKING]</strong> backport
<code>allow-unsafe-pr-checkout</code> to v6 by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2500">actions/checkout#2500</a></li>
<li>backport fixes to releases-v6 by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2527">actions/checkout#2527</a></li>
</ul>
<p><a
href="https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/">https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/</a>
for more details about this breaking change</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.3...v6.1.0">https://github.com/actions/checkout/compare/v6.0.3...v6.1.0</a></p>
<h2>v6.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update changelog by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2357">actions/checkout#2357</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>Update changelog for v6.0.3 by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2446">actions/checkout#2446</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/yaananth"><code>@​yaananth</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6...v6.0.3">https://github.com/actions/checkout/compare/v6...v6.0.3</a></p>
<h2>v6.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID
is set by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2355">actions/checkout#2355</a></li>
<li>Fix tag handling: preserve annotations and explicit fetch-tags by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.1...v6.0.2">https://github.com/actions/checkout/compare/v6.0.1...v6.0.2</a></p>
<h2>v6.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update all references from v5 and v4 to v6 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2314">actions/checkout#2314</a></li>
<li>Add worktree support for persist-credentials includeIf by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li>
<li>Clarify v6 README by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2328">actions/checkout#2328</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v7.0.1</h2>
<ul>
<li>Skip running unsafe pr check if input is default by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2518">actions/checkout#2518</a></li>
<li>Trim only ascii whitespace for branch by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2521">actions/checkout#2521</a></li>
<li>Escape values passed to --unset by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2530">actions/checkout#2530</a></li>
<li>Various dependency updates</li>
</ul>
<h2>v7.0.0</h2>
<ul>
<li>Block checking out fork PR for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Various dependency updates</li>
</ul>
<h2>v6.0.3</h2>
<ul>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<h2>v6.0.2</h2>
<ul>
<li>Fix tag handling: preserve annotations and explicit fetch-tags by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li>
</ul>
<h2>v6.0.1</h2>
<ul>
<li>Add worktree support for persist-credentials includeIf by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li>
</ul>
<h2>v6.0.0</h2>
<ul>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li>
</ul>
<h2>v5.0.1</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li>
</ul>
<h2>v5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
</ul>
<h2>v4.3.1</h2>
<ul>
<li>Port v6 cleanup to v4 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li>
</ul>
<h2>v4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3d3c42e5aa"><code>3d3c42e</code></a>
prep v7.0.1 release (<a
href="https://redirect.github.com/actions/checkout/issues/2531">#2531</a>)</li>
<li><a
href="28802689a1"><code>2880268</code></a>
escape values passed to --unset (<a
href="https://redirect.github.com/actions/checkout/issues/2530">#2530</a>)</li>
<li><a
href="12cd2235ef"><code>12cd223</code></a>
trim only ascii whitespace for branch (<a
href="https://redirect.github.com/actions/checkout/issues/2521">#2521</a>)</li>
<li><a
href="62661c4e71"><code>62661c4</code></a>
skip running unsafe pr check if input is default (<a
href="https://redirect.github.com/actions/checkout/issues/2518">#2518</a>)</li>
<li><a
href="e8d4307400"><code>e8d4307</code></a>
Bump the minor-actions-dependencies group with 2 updates (<a
href="https://redirect.github.com/actions/checkout/issues/2499">#2499</a>)</li>
<li><a
href="631c942040"><code>631c942</code></a>
eslint 9 (<a
href="https://redirect.github.com/actions/checkout/issues/2474">#2474</a>)</li>
<li><a
href="4f1f4aec02"><code>4f1f4ae</code></a>
Bump actions/upload-artifact from 4 to 7 (<a
href="https://redirect.github.com/actions/checkout/issues/2476">#2476</a>)</li>
<li><a
href="ba097532fb"><code>ba09753</code></a>
Bump actions/checkout from 6 to 7 (<a
href="https://redirect.github.com/actions/checkout/issues/2488">#2488</a>)</li>
<li><a
href="b9e0990d21"><code>b9e0990</code></a>
Bump docker/login-action from 3.3.0 to 4.2.0 (<a
href="https://redirect.github.com/actions/checkout/issues/2479">#2479</a>)</li>
<li><a
href="e8cb398be4"><code>e8cb398</code></a>
Bump docker/build-push-action from 6.5.0 to 7.2.0 (<a
href="https://redirect.github.com/actions/checkout/issues/2478">#2478</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/checkout/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/cache` from 5 to 6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/releases">actions/cache's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update packages, migrate to ESM by <a
href="https://github.com/Samirat"><code>@​Samirat</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p>
<h2>v5.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@​actions/cache</code> to v5.1.0 - handle read-only cache
access by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p>
<h2>v5.0.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Update ts-http-runtime dependency by <a
href="https://github.com/yacaovsnc"><code>@​yacaovsnc</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p>
<h2>v5.0.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Add release instructions and update maintainer docs by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li>
<li>Potential fix for code scanning alert no. 52: Workflow does not
contain permissions by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li>
<li>Fix workflow permissions and cleanup workflow names / formatting by
<a href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li>
<li>docs: Update examples to use the latest version by <a
href="https://github.com/XZTDean"><code>@​XZTDean</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li>Fix proxy integration tests by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li>
<li>Fix cache key in examples.md for bun.lock by <a
href="https://github.com/RyPeck"><code>@​RyPeck</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
<li>Update dependencies &amp; patch security vulnerabilities by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/XZTDean"><code>@​XZTDean</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li><a href="https://github.com/RyPeck"><code>@​RyPeck</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p>
<h2>v5.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p>
<h2>v.5.0.2</h2>
<h1>v5.0.2</h1>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's
changelog</a>.</em></p>
<blockquote>
<h1>Releases</h1>
<h2>How to prepare a release</h2>
<blockquote>
<p>[!NOTE]
Relevant for maintainers with write access only.</p>
</blockquote>
<ol>
<li>Switch to a new branch from <code>main</code>.</li>
<li>Run <code>npm test</code> to ensure all tests are passing.</li>
<li>Update the version in <a
href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li>
<li>Run <code>npm run build</code> to update the compiled files.</li>
<li>Update this <a
href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a>
with the new version and changes in the <code>## Changelog</code>
section.</li>
<li>Run <code>licensed cache</code> to update the license report.</li>
<li>Run <code>licensed status</code> and resolve any warnings by
updating the <a
href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a>
file with the exceptions.</li>
<li>Commit your changes and push your branch upstream.</li>
<li>Open a pull request against <code>main</code> and get it reviewed
and merged.</li>
<li>Draft a new release <a
href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a>
use the same version number used in <code>package.json</code>
<ol>
<li>Create a new tag with the version number.</li>
<li>Auto generate release notes and update them to match the changes you
made in <code>RELEASES.md</code>.</li>
<li>Toggle the set as the latest release option.</li>
<li>Publish the release.</li>
</ol>
</li>
<li>Navigate to <a
href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a>
<ol>
<li>There should be a workflow run queued with the same version
number.</li>
<li>Approve the run to publish the new version and update the major tags
for this action.</li>
</ol>
</li>
</ol>
<h2>Changelog</h2>
<h3>6.1.0</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a
href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435
Handle cache write error due to read-only token</a></li>
<li>Switch redundant &quot;Cache save failed&quot; warning to debug log
in save-only</li>
</ul>
<h3>6.0.0</h3>
<ul>
<li>Updated <code>@actions/cache</code> to ^6.0.1,
<code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to
^3.0.0, <code>@actions/io</code> to ^3.0.2</li>
<li>Migrated to ESM module system</li>
<li>Upgraded Jest to v30 and test infrastructure to be ESM
compatible</li>
</ul>
<h3>5.0.4</h3>
<ul>
<li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar
patterns)</li>
<li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb
protection, header validation fixes)</li>
<li>Bump <code>fast-xml-parser</code> to v5.5.6</li>
</ul>
<h3>5.0.3</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<h3>5.0.2</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="55cc834586"><code>55cc834</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1768">#1768</a>
from jasongin/readonly-cache</li>
<li><a
href="d8cd72f230"><code>d8cd72f</code></a>
Bump <code>@​actions/cache</code> to v6.1.0 - handle cache write error
due to RO token</li>
<li><a
href="2c8a9bd745"><code>2c8a9bd</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1760">#1760</a>
from actions/samirat/esm_migration_and_package_update</li>
<li><a
href="e9b91fdc3f"><code>e9b91fd</code></a>
Prettier fixes</li>
<li><a
href="e4884b8ff7"><code>e4884b8</code></a>
Rebuild dist</li>
<li><a
href="10baf0191a"><code>10baf01</code></a>
Fixed licenses</li>
<li><a
href="e39b386c90"><code>e39b386</code></a>
Fix test mock return order</li>
<li><a
href="b692820337"><code>b692820</code></a>
PR feedback</li>
<li><a
href="60749128a4"><code>6074912</code></a>
Rebuild dist bundles as ESM to match type:module</li>
<li><a
href="5a912e8b4a"><code>5a912e8</code></a>
Fix lint and jest issues</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/cache/compare/v5...v6">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 11:41:36 -07:00
Ahmed Hesham
204f935850
Fix compilation error in test_conversions (#2759)
Change `sign` to `constexpr`, allowing its use without capturing across
all compilers.

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
2026-07-29 15:03:37 +02:00
Romaric Jodin
e595c1681c
conversions: Refactor tests to reduce dataset size (#2711)
This commit reduces the overall dataset size for conversion tests
 while maintaining high confidence in edge-case coverage. By replacing
 hardcoded arrays with a dynamically generated set of problematic
 corner cases, the test execution time and memory footprint are
 optimized without sacrificing strict conformance validation.

 It also introduces an exhaustive testing mode (`-a` flag) to test 2^32
 inputs when full coverage is explicitly desired, and corrects the
 workload reduction math for Wimpy and Embedded modes. Thread safety is
 guaranteed via a global `std::recursive_mutex`, and exact bit-level
 deduplication using `std::unordered_set` prevents redundant
 floating-point testing (e.g., collapsing NaNs or signed zeros).

 Special Value Selection Strategies:

 * Integer Types (Base and Conversions)
   Focuses on a dense cluster of known boundary triggers rather than
   sparse randoms. The generator populates a baseline pool (0 to 255),
   calculates powers of 2, 3, 5, 7, and 10 up to the sign bit, and
   creates bitwise combinations of repeating patterns and shifting
   masks. Crucially, to catch off-by-one and alignment errors, every
   base value generates its immediate neighbors (offsets from -3 to
   +3), along with their bitwise NOT and sign-bit XORs.

 * Floating-Point Types
   Focuses strictly on precision loss and rounding boundaries. It seeds
   a core set of known difficult values (-/+ INF, NaN, subnormals, and
   type limits). To test exact rounding thresholds, the generator
   calculates the +/- 1 ULP neighbors for every seeded value via
   integer bitcasting. Finally, to guarantee coverage of saturation and
   overflow thresholds, cross-type boundary values corresponding to the
   specific destination type's domain limits (e.g., injecting exact
   char/short limits into float inputs) are dynamically added to the
   test set.
2026-07-29 07:17:14 +02:00
riccardo-zanetti-arm
5013399741
subgroups: Fix maximum subgroup size for tail calculation (#2752)
Use get_max_sub_group_size() when calculating the size of the final
subgroup in a non-uniform workgroup.

get_sub_group_size() may already return the size of the current partial
subgroup. Using it as the modulus divisor can therefore calculate an
incorrect size, split the subgroup at the wrong lane, and pass
non-uniform indices to sub_group_non_uniform_broadcast.

Signed-off-by: Riccardo Zanetti <riccardo.zanetti@arm.com>

As approved on 28Jul26 call
2026-07-28 09:32:33 -07:00
Eric-Guo-NXP
6874c1177c
Add test_compiler spv file into install target (#2747)
The compiler tests assemble SPIR-V binaries into the build directory
(COMPILER_SPV_PATH, i.e. spirv_bin) at build time, but the existing
install() rules only copied the includeTestDirectory and
secondIncludeTestDirectory resources. As a result, the spirv_bin
directory was missing from the install tree, causing the compiler tests
to fail at runtime when run from an installed location.

Add an install(DIRECTORY) rule for COMPILER_SPV_PATH so the assembled
SPIR-V binaries are placed alongside the other compiler test resources
under CMAKE_INSTALL_BINDIR.

Fixes #2746

Signed-off-by: Eric Guo <eric.guo@nxp.com>

As approved on 28Jul26 call
2026-07-28 09:31:14 -07:00
Marcin Hajder
8f081183fd
Fix validation layer errors in test_buffer_multiImport_sameCtx (#2685)
Related to #2623, additional cleanup corrections applied (replaced
regular cl objects with wrappers and smart pointers).

Fixes vulkan validation layer errors:

Vulkan validation layer: Validation Error: [
VUID-vkImportSemaphoreFdKHR-semaphore-01142 ] | MessageID = 0x668a54af |
vkImportSemaphoreFdKHR(): pImportSemaphoreFdInfo->semaphore can't be
called on VkSemaphore 0xfa21a40000000003[] that is currently in use by
VkSemaphore 0xfa21a40000000003[]. The Vulkan spec states: semaphore must
not be associated with any queue command that has not yet completed
execution on that queue
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkImportSemaphoreFdKHR-semaphore-01142)

Vulkan validation layer: Validation Error: [
VUID-vkFreeMemory-memory-00677 ] | MessageID = 0x485c8ea2 |
vkFreeMemory(): can't be called on VkDeviceMemory 0xe7e6d0000000000f[]
that is currently in use by VkBuffer 0x967dd1000000000e[]. The Vulkan
spec states: All submitted commands that refer to memory (via images or
buffers) must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeMemory-memory-00677)

Vulkan validation layer: Validation Error: [
VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle =
0x5ef05db4a000, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle =
0xcfef35000000000a, type = VK_OBJECT_TYPE_COMMAND_POOL; | MessageID =
0x1ab902fc | vkFreeCommandBuffers(): pCommandBuffers[0] (VkCommandBuffer
0x5ef05db4a000[]) is in use. The Vulkan spec states: All elements of
pCommandBuffers must not be in the pending state
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeCommandBuffers-pCommandBuffers-00047)

Vulkan validation layer: Validation Error: [
VUID-vkDestroySemaphore-semaphore-05149 ] | MessageID = 0x93e24db1 |
vkDestroySemaphore(): semaphore can't be called on VkSemaphore
0xfa21a40000000003[] that is currently in use by VkSemaphore
0xfa21a40000000003[]. The Vulkan spec states: All submitted batches that
refer to semaphore must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroySemaphore-semaphore-05149)

As approved on 28Jul26 call
2026-07-28 09:27:41 -07:00
Ahmed Hesham
364a57f95d
Add AHB buffer map/unmap test (#2607)
Add tests for clEnqueueMapBuffer and clEnqueueUnmapMemObject with a
buffer created using a AHardwareBuffer

---------

Signed-off-by: Alex Davicenko <alex.davicenko@arm.com>
Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Co-authored-by: Alex Davicenko <alex.davicenko@arm.com>

As agreed on 28Jul26 call
2026-07-28 09:26:32 -07:00
Sven van Haastregt
fb0a22d37e
geometrics: test that cross(float4, float4).w equals 0 (#2756)
The OpenCL C Specification explicitly calls out that "The w component of
float4 result returned will be 0.0." but the CTS was not testing for
this.

[run-test: test_geometrics geom_cross]

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>

As approved on 28Jul26 call
2026-07-28 09:24:50 -07:00
Marcin Hajder
c902913421
Fix test_consistency_external_for_1dimage and 3dimage validation errors for missing vkFreeMemory (#2675)
Related to https://github.com/KhronosGroup/OpenCL-CTS/issues/2623

Fixes vulkan validation layer error:

Vulkan validation layer: Validation Error: [
VUID-vkDestroyDevice-device-05137 ] Object 0: handle =
0xfa21a40000000003, type = VK_OBJECT_TYPE_DEVICE_MEMORY; | MessageID =
0x4872eaa0 | vkCreateDevice(): OBJ ERROR : For VkDevice
0x5cbfef8c9530[], VkDeviceMemory 0xfa21a40000000003[] has not been
destroyed. The Vulkan spec states: All child objects created on device
must have been destroyed prior to destroying device
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)

As approved on 28Jul26 call
2026-07-28 09:20:44 -07:00
Marcin Hajder
807566437b
Fix test_consistency_external_image validation errors for missing vkFreeMemory (#2674)
Related to #2623

Fixes vulkan validation layer error:

Vulkan validation layer: Validation Error: [
VUID-vkDestroyDevice-device-05137 ] Object 0: handle =
0xf443490000000006, type = VK_OBJECT_TYPE_DEVICE_MEMORY; | MessageID =
0x4872eaa0 | vkCreateDevice(): OBJ ERROR : For VkDevice
0x5573db5a6f10[], VkDeviceMemory 0xf443490000000006[] has not been
destroyed. The Vulkan spec states: All child objects created on device
must have been destroyed prior to destroying device
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroyDevice-device-05137)

As approved on 28Jul26 call
2026-07-28 09:19:41 -07:00
Marcin Hajder
8a91f2d30d
Corrected bufferreadwriterect test where provided pitches are zero for read and write ops (#2515)
Related to #2279

As approved on 28Jul26 call
2026-07-28 09:17:55 -07:00
Romaric Jodin
db8e9279b4
clCopyImage: improve performance by removing redundant copies (#2748)
This patch restructures the image copy conformance tests to eliminate
unnecessary host-side memory allocations and data duplication,
significantly improving the execution speed of the test loops.

Key changes include:
* Removed the redundant `srcHost` buffer allocation and its associated
`memcpy` operation. The test loop now directly uses `srcData` for
validation.
* Split the monolithic `test_copy_image_generic` into
`test_copy_init_images` (for setup) and `test_copy_image_generic` (for
execution). This hoists buffer sizing, random data generation, and image
creation out of the inner testing loops.
* Extracted memory mapping and initialization logic from `create_image`
into a standalone `init_image` function in `common.cpp`. This allows
destination images to be efficiently reset during test iterations
without fully recreating the OpenCL memory objects.
* Consolidated scattered `extern` function declarations across all
dimension tests into a new `test_copy_generic.h` header.
* Fixed a minor typo in `test_copy_1D_buffer.cpp` where `srcImageInfo`
was incorrectly passed as the destination descriptor.

Ref #2723

[run-test: test_cl_copy_images --num-worker-threads 2 small_images]
2026-07-21 08:47:57 -07:00
Sven van Haastregt
4d4776c5c1
compiler: skip link_error_returns_program in offline mode (#2745)
The goal of the `link_error_returns_program` test is to verify that the
API returns a usable program object even when linking fails (so that a
build log can still be queried).

In offline compilation mode, there isn't necessarily a returned program
object to inspect, as an offline compiler may produce just a diagnostic
without any binary output. In that case there won't be a binary to load,
so skip this test for offline compilation.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2026-07-21 08:47:10 -07:00
Jose Lopez
e56f8dea10
Added checks to query support for MEMORY_SCOPE_ALL_SVM_DEVICES (#2734)
A few kernels in the SVM and C11_atomics tests use
MEMORY_SCOPE_ALL_SVM_DEVICES without querying for its support.

Added a fix to either use a narrower scope or skip the subtest
altogether if the support is not present.
2026-07-21 08:45:48 -07:00
Lurie97
5c480e01b6
fix(images/kernel_read_write): align mem flags between format query a… (#2682)
…nd image creation

The format query in test_loops.cpp uses CL_MEM_WRITE_ONLY, but
test_write_*.cpp creates images with both CL_MEM_WRITE_ONLY and
CL_MEM_READ_WRITE flags. This causes test failures for formats that are
only supported with WRITE_ONLY flag (e.g., CL_RGB + CL_SIGNED_INT8).

Solution:
- Change write_only_mem_flag_types array from 2 elements to 1 element
- Only test CL_MEM_WRITE_ONLY flag for kWriteTests
- CL_MEM_READ_WRITE is already covered by kReadWriteTests which uses
read_write kernel and queries formats with CL_MEM_KERNEL_READ_AND_WRITE

Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>
2026-07-21 08:43:33 -07:00
Marcin Hajder
e045c1db1b
Fix validation layer errors in test_buffer_multiple_queue (#2679)
Related to #2623, additional cleanup corrections applied (replaced
regular cl objects with wrappers and smart pointers).

Fixes vulkan validation layer errors:

Vulkan validation layer: Validation Error: [
VUID-vkImportSemaphoreFdKHR-semaphore-01142 ] | MessageID = 0x668a54af |
vkImportSemaphoreFdKHR(): pImportSemaphoreFdInfo->semaphore can't be
called on VkSemaphore 0xfa21a40000000003[] that is currently in use by
VkSemaphore 0xfa21a40000000003[]. The Vulkan spec states: semaphore must
not be associated with any queue command that has not yet completed
execution on that queue
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkImportSemaphoreFdKHR-semaphore-01142)

Vulkan validation layer: Validation Error: [
VUID-vkFreeMemory-memory-00677 ] | MessageID = 0x485c8ea2 |
vkFreeMemory(): can't be called on VkDeviceMemory 0xe7e6d0000000000f[]
that is currently in use by VkBuffer 0x967dd1000000000e[]. The Vulkan
spec states: All submitted commands that refer to memory (via images or
buffers) must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeMemory-memory-00677)

Vulkan validation layer: Validation Error: [
VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle =
0x5ef05db4a000, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle =
0xcfef35000000000a, type = VK_OBJECT_TYPE_COMMAND_POOL; | MessageID =
0x1ab902fc | vkFreeCommandBuffers(): pCommandBuffers[0] (VkCommandBuffer
0x5ef05db4a000[]) is in use. The Vulkan spec states: All elements of
pCommandBuffers must not be in the pending state
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeCommandBuffers-pCommandBuffers-00047)

Vulkan validation layer: Validation Error: [
VUID-vkDestroySemaphore-semaphore-05149 ] | MessageID = 0x93e24db1 |
vkDestroySemaphore(): semaphore can't be called on VkSemaphore
0xfa21a40000000003[] that is currently in use by VkSemaphore
0xfa21a40000000003[]. The Vulkan spec states: All submitted batches that
refer to semaphore must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroySemaphore-semaphore-05149)
2026-07-21 08:40:45 -07:00
Marcin Hajder
b503139c1a
Extended support for random-coord region operations with clEnqueueMapImage (#2478)
Fixes #2348 according to issue description

[run-test: test_basic enqueue_map_image]
2026-07-21 08:38:30 -07:00
Marcin Hajder
d6b0e500d2
Added test to verify negative result of clSetKernelArg with CL_INVALID_MEM_OBJECT and MSAA image object argument (#2472)
Related to #2282, according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773)

[run-test: test_api negative_set_kernel_arg_invalid_image_msaa]
2026-07-15 09:28:11 +02:00
Romaric Jodin
22f7d5b422
select: Stop testing every integers as cmp value (#2720)
Previously, the select conformance test attempted to sequentially
iterate through
large ranges of 32-bit and 64-bit integers for comparison values. This
approach
was inefficient and required a "wimpy mode" to arbitrarily skip values
in order
to finish within a reasonable timeframe.

Since the OpenCL `select` built-in evaluates the Most Significant Bit
(MSB) for
vector types, exhaustive iteration of the entire integer space is
unnecessary.
This patch refactors `initCmpBuffer` to systematically generate bitmasks
that
toggle the MSB across all vector lanes, filling the remaining bits with
random
data. This ensures complete coverage of the vector selection mechanics
within a
bounded execution time.

Additionally, this patch cleans up the test harness by:
- Removing the now-obsolete wimpy mode and its custom argument parsing.
- Hoisting `src1` and `src2` host-to-device buffer writes outside of the
main
vector loop, as these buffers only depend on the source type and do not
need
  to be re-written for every vector size iteration.
2026-07-15 00:26:16 +02:00
Marcin Hajder
e3d99838f0
Fix validation layer errors in test_buffer_single_queue (#2676)
Related to #2623

Fixes vulkan validation layer errors:

Vulkan validation layer: Validation Error: [
VUID-vkImportSemaphoreFdKHR-semaphore-01142 ] | MessageID = 0x668a54af |
vkImportSemaphoreFdKHR(): pImportSemaphoreFdInfo->semaphore can't be
called on VkSemaphore 0xfa21a40000000003[] that is currently in use by
VkSemaphore 0xfa21a40000000003[]. The Vulkan spec states: semaphore must
not be associated with any queue command that has not yet completed
execution on that queue
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkImportSemaphoreFdKHR-semaphore-01142)

Vulkan validation layer: Validation Error: [
VUID-vkFreeMemory-memory-00677 ] | MessageID = 0x485c8ea2 |
vkFreeMemory(): can't be called on VkDeviceMemory 0xe7e6d0000000000f[]
that is currently in use by VkBuffer 0x967dd1000000000e[]. The Vulkan
spec states: All submitted commands that refer to memory (via images or
buffers) must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeMemory-memory-00677)

Vulkan validation layer: Validation Error: [
VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle =
0x5ef05db4a000, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle =
0xcfef35000000000a, type = VK_OBJECT_TYPE_COMMAND_POOL; | MessageID =
0x1ab902fc | vkFreeCommandBuffers(): pCommandBuffers[0] (VkCommandBuffer
0x5ef05db4a000[]) is in use. The Vulkan spec states: All elements of
pCommandBuffers must not be in the pending state
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkFreeCommandBuffers-pCommandBuffers-00047)

Vulkan validation layer: Validation Error: [
VUID-vkDestroySemaphore-semaphore-05149 ] | MessageID = 0x93e24db1 |
vkDestroySemaphore(): semaphore can't be called on VkSemaphore
0xfa21a40000000003[] that is currently in use by VkSemaphore
0xfa21a40000000003[]. The Vulkan spec states: All submitted batches that
refer to semaphore must have completed execution
(https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-vkDestroySemaphore-semaphore-05149)

Merged as agreed on 14Jul26 call
2026-07-14 09:01:57 -07:00
Romaric Jodin
417697d1f3
images: Remove global variables to allow for parallel execution (#2696)
This patch removes the use of global state across the image conformance
tests and replaces it with a passed `context_t` structure.

The goal of this change is to be able to run `image_streams` in parallel
by removing global variables as they were not thread-safe. This
refactoring had to be applied everywhere because `image_streams` needs
to update `test_format_set_fn`, which is used by all the image tests.

Key changes:
* Removed global flags such as `gTestSmallImages`, `gTestMipmaps`,
`gDebugTrace`, `gEnablePitch`, etc.
* Initialized a `context_t` struct in the `main.cpp` files to store test
configuration.
* Updated test function signatures across `clCopyImage`, `clFillImage`,
`clGetInfo`, and `kernel_read_write` to accept `const context_t &ctx`.

[run-test: test_image_streams --num-worker-threads 2 CL_A
CL_FILTER_NEAREST 1D]

Merged as agreed on 14Jul26 call
2026-07-14 09:00:27 -07:00
Romaric Jodin
372bcd6449
math_brute_force: Refactor input generation & reduce default test size (#2697)
This patch consolidates the hardcoded arrays of edge-case test values
from multiple individual test files into a single, shared location.

Merged as agreed on 14Jul26 call
2026-07-14 08:59:01 -07:00
Jose Lopez
60db772fdb
basic: Replace deprecated __OPENCL_VERSION__ with __OPENCL_C_VERSION__ in work item kernel (#2735)
The CTS kernel in `test_conformance/basic/test_work_item_functions.cpp`
used the deprecated `__OPENCL_VERSION__` preprocessor macro to guard
calls to `get_enqueued_local_size()` and `get_global_offset()`.

Merged as agreed on 14Jul26 call
2026-07-14 08:57:29 -07:00
Antonios Christidis
05e1ad81b6
conversions: Fix GCC ABI warning in conversions_data_info.h (#2737)
Replace std::make_pair with explicit pair construction to fix GCC ABI
warning

Explicit std::pair<OutType, OutType> construction avoids the template
instantiation in std::make_pair that triggers GCC 10.1+ ABI
compatibility warnings between C++14 and C++17 parameter passing
conventions.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>

Merged as agreed on 14Jul26 call
2026-07-14 08:56:07 -07:00
Romaric Jodin
790f45d4cd
vectors: Parallelize alignment tests (#2715)
Modernizes the vector alignment conformance tests by replacing slow
nested procedural loops with thread pool parallelization, significantly
improving test execution times on multi-core systems.

Merged as agreed on 14Jul26 call
2026-07-14 08:46:22 -07:00
Marcin Hajder
f6d1e8711f
Added test to verify negative result of clSetKernelArg with CL_INVALID_MEM_OBJECT and image object argument (#2470)
Related to #2282, according to work plan from
[here](https://github.com/KhronosGroup/OpenCL-CTS/issues/2282#issuecomment-3069182773)

[run-test: test_api negative_set_kernel_arg_invalid_image]

Merged as agreed on 14Jul26 call
2026-07-14 08:42:42 -07:00
Romaric Jodin
8b65365824
ci: only install pocl deps if we need to rebuild it (#2742) 2026-07-09 15:26:58 +02:00
Romaric Jodin
901cf80e1c
ci: allow POCL build on push to populate cache (#2741)
Split the `tests` job into three separate jobs:
- `check-triggers`: Parses triggers on pull requests.
- `build-pocl`: Builds and caches POCL. Runs on pushes to any branch or
when tests are triggered on PRs.
- `tests`: Runs the tests using the cached POCL.

This allows the POCL build to run on pushes to populate the cache,
ensuring subsequent PRs have a cache hit and don't need to rebuild POCL.
2026-07-09 11:58:02 +02:00
Romaric Jodin
349973878b
api/clone_kernel: Fix kernel compilation failure (#2712)
Isolate 'set_kernel_exec_info_kernel' into its own program source string
to prevent compilation failures on OpenCL 3.0 devices that only support
OpenCL C 1.2.

The 'set_kernel_exec_info_kernel' uses a struct containing a pointer
member (`__global BufPtr* buffer`), which is passed directly as a kernel
argument. This construct triggers a multi-level pointer evaluation
(`__global int **`) that violates Section 6.11.a of the OpenCL C 1.2
Specification.

Previously, this kernel was bundled inside
`clone_kernel_test_kernel`. On devices running OpenCL 3.0 but defaulting
to OpenCL C 1.2 build options, the compiler would reject the entire
source string, causing all unrelated `clone_kernel` API tests to fail
program compilation.

This change extracts the problematic kernel into a dedicated
`clone_kernel_exec_info_kernel` source, ensuring it is only compiled
when SVM features are verified and active, preserving test suite
conformance on 1.2-only compilers.
2026-07-07 09:36:40 -07:00
Ahmed Hesham
ee5371ab42
Split test_allocations image kernels into multiple dispatches (#2739)
The purpose of test_allocations is to check that the device can allocate
the requested memory sizes successfully. To ensure that the allocated
memory is correctly allocated and writable by the device, a checksum
kernel is then enqueued on the entire buffer/image.

Without subdividing the work into multiple dispatches, image tests risk
triggering timeouts on slower devices. This can trigger, for example,
ANRs on
Android (https://developer.android.com/topic/performance/vitals/anr).

Maintain the core logic of the test, but split the verification kernel
into multiple dispatches, where each can finish safely within a timeout.

[run-test: test_allocations single 5 image2d_read]
[run-test: test_allocations multiple 5 image2d_read]

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
2026-07-07 09:34:26 -07:00
Ahmed Hesham
96a946a77f
Fix binaries path in test_spirv_new (#2738)
Update the behaviour of `test_spirv_new` so that the default relative
path is resolved in relation to the path of the executable, not the
current working directory.

`--spirv-binaries-path` can now handle absolute and relative paths.

Remove the redundant path override from the CSV files, as it is setting
it to the default.

---------

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
2026-07-07 09:33:29 -07:00
Antonios Christidis
11d0d6cb45
commonfns: Fix conv_to_flt return type from double to float (#2736)
The function explicitly casts to float but was returning double, causing
an unnecessary implicit float-to-double conversion.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
2026-07-07 09:32:39 -07:00
Antonios Christidis
1f6fbd30b8
Format fixes commonfns (#2728)
For replication, setup info:
GCC: 16.1
glibc: 2.43
target architecture build: aarch64
Config used to setup Yocto layers:
[Config](https://git.ti.com/cgit/arago-project/oe-layersetup/tree/configs/arago-master-config.txt)

While building Yocto wrynose, recipe in meta-oe layer, following error
appears multiple times:

```
test_conformance/commonfns/test_binary_fn.cpp:274:40:   required from here
  274 |         error = test_binary_fn<cl_half>(device, context, queue, num_elems,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275 |                                         fnName.c_str(), vecParam,
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~
  276 |                                         max_verify<cl_half>);
      |                                         ~~~~~~~~~~~~~~~~~~~~

test_conformance/commonfns/test_binary_fn.cpp:219:72: error: format '%g' expects argument of type 'double', but argument 8 has type 'int' [-Werror=format=]
  219 |                     log_error("x[%d]=%g y[%d]=%g out[%d]=%g, expected %g. "
      |                                                                       ~^
      |                                                                        |
      |                                                                        double
      |                                                                       %d
......
  223 |                               conv_to_flt(out[k]), v, k, i, j, vecSize);
      |                                                    ~
      |                                                    |
      |                                                    int


```
The [commonfns: fix type mismatches across function
templates](d85a92794a)
patch fixes the above. This is also the only format error when building,
so
[commonfns: Remove -Wno-format
flag](5b099b9c63)
re-enables -W-format

---------

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
2026-07-07 09:31:59 -07:00
Sven van Haastregt
7bb17553bc
printf: cast t and z test args to their types (#2732)
The OpenCL C 3.1 printf length modifiers `t` and `z` require arguments
of type `ptrdiff_t` and `size_t` respectively. For implementations where
`CL_DEVICE_ADDRESS_BITS == 64`, these types are 64-bit, but the
`ptrdiff_t` and `size_t` printf tests pass integer literals such as 10
as a 32-bit `int` argument.

For example, the following calls use the same format string, but pass
arguments with different widths:

    printf("%5td\n", 10);            // int
    printf("%5td\n", 10000000000L);  // long

A variadic printf implementation cannot work around this type mismatch,
as it cannot know whether to read 32 or 64 bits from the vararg slot.
Fix by explicitly casting the argument to the tested type.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2026-07-07 09:31:14 -07:00
dependabot[bot]
b3dae60b01
Bump the github-actions group with 2 updates (#2733)
Bumps the github-actions group with 2 updates:
[actions/checkout](https://github.com/actions/checkout) and
[actions/cache](https://github.com/actions/cache).

Updates `actions/checkout` from 6 to 7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>block checking out fork pr for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the
minor-actions-dependencies group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li>
<li>Bump js-yaml from 4.1.0 to 4.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li>
<li>Bump <code>@​actions/core</code> and
<code>@​actions/tool-cache</code> and Remove uuid by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li>
<li>upgrade module to esm and update dependencies by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li>
<li>getting ready for checkout v7 release by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2464">actions/checkout#2464</a></li>
<li>update error wording by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2467">actions/checkout#2467</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.3...v7.0.0">https://github.com/actions/checkout/compare/v6.0.3...v7.0.0</a></p>
<h2>v6.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update changelog by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2357">actions/checkout#2357</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>Update changelog for v6.0.3 by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2446">actions/checkout#2446</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/yaananth"><code>@​yaananth</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6...v6.0.3">https://github.com/actions/checkout/compare/v6...v6.0.3</a></p>
<h2>v6.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID
is set by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2355">actions/checkout#2355</a></li>
<li>Fix tag handling: preserve annotations and explicit fetch-tags by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.1...v6.0.2">https://github.com/actions/checkout/compare/v6.0.1...v6.0.2</a></p>
<h2>v6.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update all references from v5 and v4 to v6 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2314">actions/checkout#2314</a></li>
<li>Add worktree support for persist-credentials includeIf by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li>
<li>Clarify v6 README by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2328">actions/checkout#2328</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6...v6.0.1">https://github.com/actions/checkout/compare/v6...v6.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v7.0.0</h2>
<ul>
<li>Block checking out fork PR for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the
minor-actions-dependencies group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li>
<li>Bump js-yaml from 4.1.0 to 4.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li>
<li>Bump <code>@​actions/core</code> and
<code>@​actions/tool-cache</code> and Remove uuid by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li>
<li>upgrade module to esm and update dependencies by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li>
</ul>
<h2>v6.0.3</h2>
<ul>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<h2>v6.0.2</h2>
<ul>
<li>Fix tag handling: preserve annotations and explicit fetch-tags by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li>
</ul>
<h2>v6.0.1</h2>
<ul>
<li>Add worktree support for persist-credentials includeIf by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li>
</ul>
<h2>v6.0.0</h2>
<ul>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li>
</ul>
<h2>v5.0.1</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li>
</ul>
<h2>v5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
</ul>
<h2>v4.3.1</h2>
<ul>
<li>Port v6 cleanup to v4 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li>
</ul>
<h2>v4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9c091bb21b"><code>9c091bb</code></a>
update error wording (<a
href="https://redirect.github.com/actions/checkout/issues/2467">#2467</a>)</li>
<li><a
href="1044a6dea9"><code>1044a6d</code></a>
getting ready for checkout v7 release (<a
href="https://redirect.github.com/actions/checkout/issues/2464">#2464</a>)</li>
<li><a
href="f0282184c7"><code>f028218</code></a>
Bump the minor-npm-dependencies group across 1 directory with 3 updates
(<a
href="https://redirect.github.com/actions/checkout/issues/2462">#2462</a>)</li>
<li><a
href="d914b262ff"><code>d914b26</code></a>
upgrade module to esm and update dependencies (<a
href="https://redirect.github.com/actions/checkout/issues/2463">#2463</a>)</li>
<li><a
href="537c7ef99c"><code>537c7ef</code></a>
Bump <code>@​actions/core</code> and <code>@​actions/tool-cache</code>
and Remove uuid (<a
href="https://redirect.github.com/actions/checkout/issues/2459">#2459</a>)</li>
<li><a
href="130a169078"><code>130a169</code></a>
Bump js-yaml from 4.1.0 to 4.2.0 (<a
href="https://redirect.github.com/actions/checkout/issues/2461">#2461</a>)</li>
<li><a
href="7d09575332"><code>7d09575</code></a>
Bump flatted from 3.3.1 to 3.4.2 (<a
href="https://redirect.github.com/actions/checkout/issues/2460">#2460</a>)</li>
<li><a
href="0f9f3aa320"><code>0f9f3aa</code></a>
Bump actions/publish-immutable-action (<a
href="https://redirect.github.com/actions/checkout/issues/2458">#2458</a>)</li>
<li><a
href="f9e715a95f"><code>f9e715a</code></a>
block checking out fork pr for pull_request_target and workflow_run (<a
href="https://redirect.github.com/actions/checkout/issues/2454">#2454</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/cache` from 5 to 6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/releases">actions/cache's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update packages, migrate to ESM by <a
href="https://github.com/Samirat"><code>@​Samirat</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p>
<h2>v5.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@​actions/cache</code> to v5.1.0 - handle read-only cache
access by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p>
<h2>v5.0.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Update ts-http-runtime dependency by <a
href="https://github.com/yacaovsnc"><code>@​yacaovsnc</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p>
<h2>v5.0.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Add release instructions and update maintainer docs by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li>
<li>Potential fix for code scanning alert no. 52: Workflow does not
contain permissions by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li>
<li>Fix workflow permissions and cleanup workflow names / formatting by
<a href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li>
<li>docs: Update examples to use the latest version by <a
href="https://github.com/XZTDean"><code>@​XZTDean</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li>Fix proxy integration tests by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li>
<li>Fix cache key in examples.md for bun.lock by <a
href="https://github.com/RyPeck"><code>@​RyPeck</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
<li>Update dependencies &amp; patch security vulnerabilities by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/XZTDean"><code>@​XZTDean</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li><a href="https://github.com/RyPeck"><code>@​RyPeck</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p>
<h2>v5.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p>
<h2>v.5.0.2</h2>
<h1>v5.0.2</h1>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's
changelog</a>.</em></p>
<blockquote>
<h1>Releases</h1>
<h2>How to prepare a release</h2>
<blockquote>
<p>[!NOTE]
Relevant for maintainers with write access only.</p>
</blockquote>
<ol>
<li>Switch to a new branch from <code>main</code>.</li>
<li>Run <code>npm test</code> to ensure all tests are passing.</li>
<li>Update the version in <a
href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li>
<li>Run <code>npm run build</code> to update the compiled files.</li>
<li>Update this <a
href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a>
with the new version and changes in the <code>## Changelog</code>
section.</li>
<li>Run <code>licensed cache</code> to update the license report.</li>
<li>Run <code>licensed status</code> and resolve any warnings by
updating the <a
href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a>
file with the exceptions.</li>
<li>Commit your changes and push your branch upstream.</li>
<li>Open a pull request against <code>main</code> and get it reviewed
and merged.</li>
<li>Draft a new release <a
href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a>
use the same version number used in <code>package.json</code>
<ol>
<li>Create a new tag with the version number.</li>
<li>Auto generate release notes and update them to match the changes you
made in <code>RELEASES.md</code>.</li>
<li>Toggle the set as the latest release option.</li>
<li>Publish the release.</li>
</ol>
</li>
<li>Navigate to <a
href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a>
<ol>
<li>There should be a workflow run queued with the same version
number.</li>
<li>Approve the run to publish the new version and update the major tags
for this action.</li>
</ol>
</li>
</ol>
<h2>Changelog</h2>
<h3>6.1.0</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a
href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435
Handle cache write error due to read-only token</a></li>
<li>Switch redundant &quot;Cache save failed&quot; warning to debug log
in save-only</li>
</ul>
<h3>6.0.0</h3>
<ul>
<li>Updated <code>@actions/cache</code> to ^6.0.1,
<code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to
^3.0.0, <code>@actions/io</code> to ^3.0.2</li>
<li>Migrated to ESM module system</li>
<li>Upgraded Jest to v30 and test infrastructure to be ESM
compatible</li>
</ul>
<h3>5.0.4</h3>
<ul>
<li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar
patterns)</li>
<li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb
protection, header validation fixes)</li>
<li>Bump <code>fast-xml-parser</code> to v5.5.6</li>
</ul>
<h3>5.0.3</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<h3>5.0.2</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="55cc834586"><code>55cc834</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1768">#1768</a>
from jasongin/readonly-cache</li>
<li><a
href="d8cd72f230"><code>d8cd72f</code></a>
Bump <code>@​actions/cache</code> to v6.1.0 - handle cache write error
due to RO token</li>
<li><a
href="2c8a9bd745"><code>2c8a9bd</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1760">#1760</a>
from actions/samirat/esm_migration_and_package_update</li>
<li><a
href="e9b91fdc3f"><code>e9b91fd</code></a>
Prettier fixes</li>
<li><a
href="e4884b8ff7"><code>e4884b8</code></a>
Rebuild dist</li>
<li><a
href="10baf0191a"><code>10baf01</code></a>
Fixed licenses</li>
<li><a
href="e39b386c90"><code>e39b386</code></a>
Fix test mock return order</li>
<li><a
href="b692820337"><code>b692820</code></a>
PR feedback</li>
<li><a
href="60749128a4"><code>6074912</code></a>
Rebuild dist bundles as ESM to match type:module</li>
<li><a
href="5a912e8b4a"><code>5a912e8</code></a>
Fix lint and jest issues</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/cache/compare/v5...v6">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-07 09:29:24 -07:00
Woody Chow
071fbd4d83
compiler: Add test for clLinkProgram returning program on linker failure (#2725)
According to the OpenCL specification (Section 5.6.2), clLinkProgram
must return a valid non-zero cl_program object when a linker failure
occurs (setting errcode_ret to CL_LINK_PROGRAM_FAILURE). This allows
applications to query the build log via clGetProgramBuildInfo to
diagnose the linking errors.

See:
https://registry.khronos.org/OpenCL/specs/unified/refpages/man/html/clLinkProgram.html

This commit adds a test case that compiles a kernel with an unresolved
symbol, links it, and asserts that a valid program object is returned
along with CL_LINK_PROGRAM_FAILURE, and that the build log is queryable.

As approved on 7Jul26 call
2026-07-07 09:23:06 -07:00
Marcin Hajder
494bb0de37
Added test to verify API consistency when linker or compiler unavailable (#2630)
Fixes #955

@kpet @bashbaug I've noticed procedure `clBuildProgram` does not return
`CL_LINKER_NOT_AVAILABLE`, only `CL_COMPILER_NOT_AVAILABLE`. Is this
intentional ? What if compiler is available but linker isn't ? Should it
still return `CL_COMPILER_NOT_AVAILABLE` ? Thanks

Approved for merge on 7Jul26 call
2026-07-07 08:46:58 -07:00
Antonios Christidis
3a19c4221e
Misc Yocto Wrynose (gcc 16.1) fixes (#2727)
For replication, setup info: 

- GCC: 16.1 
- glibc: 2.43
- target architecture build: aarch64
- Config used to setup Yocto layers:
[Config](https://git.ti.com/cgit/arago-project/oe-layersetup/tree/configs/arago-master-config.txt)


While building Yocto wrynose, recipe in meta-oe layer, following errors
appeared:

1\)
```
test_conformance/commonfns/test_unary_fn.cpp:113:21: error: variable 'j' set but not used [-Werror=unused-but-set-variable=]
  113 |     for (int i = 0, j = 0; i < n; i++, j++)
      |                     ^
cc1plus: all warnings being treated as errors
```
2)
```
test_conformance/extensions/cl_khr_command_buffer/command_buffer_printf.cpp:286:25: error: array subscript -1 is outside array bounds of 'signed char []' [-Werror=array-bounds=]
  286 |             pattern.back() = '\0';
      |             ~~~~~~~~~~~~^~
cc1plus: all warnings being treated as errors
```

Patches [test_unary_fn: Remove unused variable
j](51cab19be5)
and [command_buffer_printf: Fix out of bounds pattern
array](1080490bd8)
solve the above.

I am also including [c11_atomics: Remove -Wno-format
flag](d2607370de)
as there are no format errors that come from c11_atomics dir.

---------

Signed-off-by: Antonios Christidis <a-christidis@ti.com>

Merged as agreed on 30Jun26 call
2026-06-30 09:23:24 -07:00
Karol Herbst
56a1b19331
fix subgroup ballot testing for non-uniform workgroups (#2709)
The first patch is fixing a simple logic mistake when calculating the
amount of sub-groups in the very unlikely case that a local size of 170
creates only uniform subgroups (e.g. when the subgroup size is 2).

The second test solves a edge case behavior with `get_sub_group_size()`
because it's return value is actually implementation defined as per the
[OpenCL C
spec:](https://registry.khronos.org/OpenCL/specs/unified/html/OpenCL_C.html#:~:text=get%5Fsub%5Fgroup%5Fsize)
and it's legal to return e.g. 8 for a sub-group with just 2 work-items.

> Returns the number of work-items in the sub-group. This value is no
more than the maximum sub-group size and is implementation-defined based
on a combination of the compiled kernel and the dispatch dimensions.
This will be a constant value for the lifetime of the sub-group.

Merged as agreed on 30Jun26 call
2026-06-30 09:21:48 -07:00
Ahmed Hesham
b2978de31a
Fix device SPIR-V version detection (#2729)
`get_device_spirv_il_version` in the test harness has to be manually
updated for every new SPIR-V version released. In this instance it was
incorrectly reporting the highest version as 1.5 when it should be 1.6.

Update the helper function to parse the provided space-separated version
string and pick the "best" version available, i.e. the newest one.

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>

Merged as agreed on 30Jun26 call
2026-06-30 09:19:26 -07:00
Romaric Jodin
30185979a0
ci: Update result tracking with new golden format (#2706)
The primary goal of this commit is to improve CI tracking by
introducing a new golden format that can differentiate test results
based on command-line arguments. To cleanly extract and pass these
arguments into the JSON result outputs, the command-line parsing
infrastructure across the CTS required a significant refactoring.

Key changes include:
* Enhanced CI Tracking: Updates `ci/compare_results.py`,
`ci/pocl/golden.json`, and `saveResultsToJson` to include and evaluate
an `args` key. The golden JSON now uses a nested format mapping
specific argument strings (e.g., `--wimpy -1`) to their expected
results, allowing the CI to validate the same binary run under
different parameters.
* Centralized Parsing Infrastructure: Introduces the `ParseArgsFn`
callback and `runTestHarnessWithCheckAndParse`. This offloads custom
argument parsing from individual test `main()` functions and safely
extracts the arguments used so they can be logged by the test harness.
* Help Text Consolidation: Replaces fragmented `printUsage()`
functions with unified `help` string references populated directly by
the standard parsing callbacks.

As agreed on 30Jun26 call
2026-06-30 09:16:58 -07:00
Marcin Hajder
03b649efd7
Fix buffer overflow on reference vector for workgroup scan exclusive/inclusive tests (#2726)
Correction in reference to
[this](https://github.com/KhronosGroup/OpenCL-CTS/pull/2533#discussion_r3467800384)
discussion.

As agreed on 30Jun26 call
2026-06-30 08:47:58 -07:00
Chunyang Dai
34dcbaeea2
Fix the "set but not used" error (#2731)
When "-Werror=unused-but-set-variable" flag is set.
2026-06-29 13:42:52 +02:00
Marcin Hajder
f8e44d83be
Add validation for CL_IMAGE_ROW_PITCH and CL_IMAGE_SLICE_PITCH query results (#2645)
Fixes #1396

Merged as agreed on 23Jun26 call
2026-06-23 08:58:57 -07:00
Marcin Hajder
f2e1150fd9
Added tests validating clEnqueueSVMMemcpy when source and destination SVM ranges overlap (#2593)
Fixes #2372 according to issue description

Merged as agreed on 23Jun26 call
2026-06-23 08:57:34 -07:00
Marcin Hajder
fc4697015b
Added support for cl_ext_float_atomics in CBasicTestFetchMinSpecialFloats with atomic_half (#2399)
Related to #2142, according to the work plan, extending
CBasicTestFetchMinSpecialFloats with support for atomic_half.

Merged as agreed on 23Jun26 call
2026-06-23 08:54:04 -07:00
Michal Babej
726a6d94da
Fix two bugs related to C11 atomics (#2700)
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 1s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 1s
Presubmit / Check code format (push) Failing after 1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-11-arm (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Presubmit / Run Tests (pocl) (push) Has been cancelled
Fix two bugs related to C11 atomics (#2700)
2026-06-16 21:32:54 +05:30
Jose Lopez
8d8f3d272d
Fix error handling logic in test_kernel_call_kernel_function (#2714)
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 1s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 1s
Presubmit / Check code format (push) Failing after 1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-11-arm (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Presubmit / Run Tests (pocl) (push) Has been cancelled
Fixes the following issues:

1. Incorrect suppression condition in sections 2 & 3
Both sections use if (errors > 10) twice instead of having a trigger
condition (errors == 10). As a result, the "Suppressing further
results..." message never prints, and errors are skipped silently.

2. Incorrect pass reporting in section 3
Since errors are global, earlier sub-tests may already push it beyond
10. Section 3 then immediately skips error handling (due to errors >
10), including setting pass = 0, and incorrectly reports "Passed" even
when errors occur.

3. Repeated suppression message in section 1
When errors == 10, the code prints the suppression message and continues
without incrementing errors. This causes the condition to remain true,
printing the message repeatedly for every subsequent error instead of
just once, while doing nothing else.
2026-06-09 17:31:48 +01:00
Marcin Hajder
f769e2ab64
Added floating point types support for work_group_scan_exclusive tests (#2533)
Related to #1364
2026-06-09 17:10:30 +01:00
Ben Ashbaugh
666379ea2f
OpenCL 3.1 CTS (#2690)
This PR adds tests for OpenCL 3.1.
2026-06-09 17:09:24 +01:00