Skip to content

feat: package llama.cpp OpenCL backend for Qualcomm midstream - #2

Closed
chenchongbiao wants to merge 1 commit into
radxa-pkg:mainfrom
chenchongbiao:20260723-opencl-cross-compile
Closed

feat: package llama.cpp OpenCL backend for Qualcomm midstream#2
chenchongbiao wants to merge 1 commit into
radxa-pkg:mainfrom
chenchongbiao:20260723-opencl-cross-compile

Conversation

@chenchongbiao

Copy link
Copy Markdown
Contributor

Build llama.cpp for Q6A and Q8B with the Adreno-optimized OpenCL backend.

Cross-compile directly in the Debian 12 devcontainer with the GNU AArch64 toolchain so standard x86 GitHub runners do not need a nested Docker build. Keep GGML_NATIVE disabled, target OpenCL 2.0, embed the OpenCL kernels, and disable the Hexagon backend.

Lock the source submodule to upstream tag b7992 and depend on qcom-adreno-opencl-midstream.

Build llama.cpp for Q6A and Q8B with the Adreno-optimized OpenCL backend.

Cross-compile directly in the Debian 12 devcontainer with the GNU AArch64 toolchain so standard x86 GitHub runners do not need a nested Docker build. Keep GGML_NATIVE disabled, target OpenCL 2.0, embed the OpenCL kernels, and disable the Hexagon backend.

Lock the source submodule to upstream tag b7992 and depend on qcom-adreno-opencl-midstream.

Signed-off-by: Chongbiao Chen <chenchongbiao@radxa.com>
@github-actions

Copy link
Copy Markdown
Contributor

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

@RadxaYuntian

Copy link
Copy Markdown
Member

这个是怎么回事

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