[all-commits] [llvm/llvm-project] d87c68: [libclc] Add initial support for libclc execution ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Aug 4 20:47:22 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d87c685d5d88fe00b0594fc238b9afb16ba6eb64
https://github.com/llvm/llvm-project/commit/d87c685d5d88fe00b0594fc238b9afb16ba6eb64
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M libclc/test/CMakeLists.txt
A libclc/test/conformance/lit.local.cfg
A libclc/test/conformance/work_group_reduce.cl
M libclc/test/lit.cfg.py
M libclc/test/lit.site.cfg.py.in
Log Message:
-----------
[libclc] Add initial support for libclc execution conformance tests (#214072)
Summary:
This uses the `llvm-gpu-loader` tool to invoke OpenCL test kernels. This
routes OpenCL through the standard compute runtimes, which aren't
exactly 1-to-1 with OpenCL, but it's close enough. Obviously, the best
solution would be to have a real OpenCL host library that can launch
these, but this is the best we can get in-tree and is very sipmle, write
kernel, test kernel.
The goal is to have a lot more tests run here, but this just gets the
basic infrastructure in place. We won't be able to do full conformance
like external suites, like exhaustive math, but I think its' a step in
the right direction. It looks like this on my side:
```console
$ ninja check-libclc-amdgpu-amd-amdhsa-llvm
```
This requires building with the LLVM `offload/` runtime enabled for the
source compiler.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list