Skip to content

Misc. bug: Unable to build for gfx906 on rocm 6.4 #55

@milpster

Description

@milpster

Name and Version

commit a71668f (HEAD -> main, origin/main, origin/HEAD)
Author: Anbeeld anbeeld@gmail.com
Date: Thu Jun 4 23:15:11 2026 +0200

Add release artifact recovery workflow

Operating systems

Ubuntu 25.04

Problem description & steps to reproduce

Using the latest version from git, configuring like this:

cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=OFF -DGGML_VULKAN=ON -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS -DGGML_HIP=ON -DLLAMA_HIPBLAS=ON -DAMDGPU_TARGETS=gfx906 -DCMAKE_HIP_ARCHITECTURES=gfx906 HSA_OVERRIDE_WAVEFRONT_SIZE=64

building like this:

cmake --build build --config Release -j 11

Failing like this:

`[ 0%] Performing build step for 'vulkan-shaders-gen'
[ 0%] Built target sha256
[ 0%] Built target sha1
[ 1%] Built target llama-common-base
[ 2%] Built target llama-gemma3-cli
[ 2%] Built target llama-llava-cli
[ 2%] Built target llama-ui-embed
[ 3%] Built target llama-minicpmv-cli
[ 3%] Built target xxhash
[ 3%] Built target cpp-httplib
[ 4%] Built target ggml-base
[ 5%] Built target llama-qwen2vl-cli
[ 5%] Provisioning UI assets
-- UI: running npm install (first time)
[ 5%] Built target ggml-blas
[ 7%] Built target ggml-cpu
[100%] Built target vulkan-shaders-gen
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/acc.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/arange.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/allreduce.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/add-id.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/argmax.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/argsort.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/binbcast.cu.o
[ 7%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/concat.cu.o
[ 8%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/clamp.cu.o
[ 8%] Performing install step for 'vulkan-shaders-gen'
-- Up-to-date: /home/srcds/dev/beellama.cpp/build/Release/./vulkan-shaders-gen
[ 8%] Completed 'vulkan-shaders-gen'
[ 8%] Built target vulkan-shaders-gen
[ 8%] Building HIP object ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/conv-transpose-1d.cu.o
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/allreduce.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/allreduce.cuh:3:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/arange.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/arange.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/conv-transpose-1d.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/conv-transpose-1d.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/binbcast.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/binbcast.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/add-id.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/add-id.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
-- UI: npm install failed (1)
-- stderr: npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: @sveltejs/vite-plugin-svelte@6.2.1
npm ERR! notsup Not compatible with your version of node/npm: @sveltejs/vite-plugin-svelte@6.2.1
npm ERR! notsup Required: {"node":"^20.19 || ^22.12 || >=24"}
npm ERR! notsup Actual: {"npm":"9.2.0"}

npm ERR! A complete log of this run can be found in:
npm ERR! /home/srcds/.npm/_logs/2026-06-05T12_30_47_633Z-debug-0.log

-- UI: downloading from b10098: https://huggingface.co/buckets/ggml-org/llama-ui/resolve/b10098
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/acc.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/acc.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
12 errors generated when compiling for gfx906.
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:117: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/arange.cu.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
[ 37%] Built target ggml-vulkan
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
12 errors generated when compiling for gfx906.
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:104: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/allreduce.cu.o] Error 1
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
-- UI: download bundle.css from b10098 failed: "HTTP response code said error"
-- UI: downloading from latest: https://huggingface.co/buckets/ggml-org/llama-ui/resolve/latest
12 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:195: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/conv-transpose-1d.cu.o] Error 1
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/clamp.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/clamp.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
12 errors generated when compiling for gfx906.
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:91: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/add-id.cu.o] Error 1
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:7:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/concat.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/concat.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argsort.cu:1:
In file included from /home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argsort.cuh:1:
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:440:14: error: use of undeclared identifier '__shfl_xor_sync'
440 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:450:14: error: use of undeclared identifier '__shfl_xor_sync'
450 | x += __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:459:16: error: use of undeclared identifier '__shfl_xor_sync'
459 | a.x += __shfl_xor_sync(0xFFFFFFFFUL/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuhL, :a470.:x24,: o ferror: fsuse of undeclared identifier '__shfl_xor_sync'e
t, width);
| ^
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:460:16: error: use of undeclared identifier '__shfl_xor_sync'
460 | a.y += __shfl_xor_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:470:24: error: use of undeclared identifier '__shfl_xor_sync'
470 | a = __hadd2(a, __shfl_xor_sync(0xFFFFFFFFULL, a, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:487:17: error: use of undeclared identifier '__shfl_xor_sync'
487 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) && x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:500:17: error: use of undeclared identifier '__shfl_xor_sync'
500 | x = __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width) || x;
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:510:22: error: use of undeclared identifier '__shfl_xor_sync'
510 | x = fmaxf(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:533:27: error: use of undeclared identifier '__shfl_up_sync'
533 | const float t_x = __shfl_up_sync(0xFFFFFFFFULL, a.x, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, __shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:534:27: error: use of undeclared identifier '__shfl_up_sync'
534 | const float t_y = __shfl_up_sync(0xFFFFFFFFULL, a.y, offset, width);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:549:25: error: use of undeclared identifier '__shfl_up_sync'
549 | const half2 t = __shfl_up_sync(0xFFFFFFFFULL, a, offset, width);
| ^
12 errors generated when compiling for gfx906.
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/common.cuh:676:31: error: use of undeclared identifier '__shfl_xor_sync'
676 | x = ggml_cuda_hmax2(x, shfl_xor_sync(0xFFFFFFFFULL, x, offset, width));
| ^
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:78: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/acc.cu.o] Error 1
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:121:27: error: use of undeclared identifier '__shfl_xor_sync'
121 | const float val = __shfl_xor_sync(0xFFFFFFFFULL, maxval, offset, WARP_SIZE);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:122:27: error: use of undeclared identifier '__shfl_xor_sync'
122 | const int col = __shfl_xor_sync(0xFFFFFFFFULL, argmax, offset, WARP_SIZE);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:133:31: error: use of undeclared identifier '__shfl_xor_sync'
133 | float other_max = __shfl_xor_sync(0xFFFFFFFFULL, logit_max, offset, WARP_SIZE);
| ^
-- UI: downloaded bundle.css
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:134:31: error: use of undeclared identifier '__shfl_xor_sync'
134 | float other_sum = __shfl_xor_sync(0xFFFFFFFFULL, sum_exp, offset, WARP_SIZE);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:183:29: error: use of undeclared identifier '__shfl_xor_sync'
183 | float val = shfl_xor_sync(0xFFFFFFFFULL, maxval, offset, WARP_SIZE);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:184:29: error: use of undeclared identifier 'shfl_xor_sync'
184 | int col = shfl_xor_sync(0xFFFFFFFFULL, argmax, offset, WARP_SIZE);
| ^
/home/srcds/dev/beellama.cpp/ggml/src/ggml-cuda/argmax.cu:191:39: error: use of undeclared identifier 'shfl_xor_sync'
191 | float other_max = shfl_xor_sync(0xFFFFFFFFULL, logit_max, offset, WARP_SIZE);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:130: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/argmax.cu.o] Error 1
12 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:169: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/clamp.cu.o] Error 1
12 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:182: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/concat.cu.o] Error 1
12 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:143: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir//ggml-cuda/argsort.cu.o] Error 1
12 errors generated when compiling for gfx906.
gmake[2]: *** [ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/build.make:156: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/
/ggml-cuda/binbcast.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:2596: ggml/src/ggml-hip/CMakeFiles/ggml-hip.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
-- UI: downloaded bundle.js
-- UI: downloaded index.html
-- UI: downloaded loading.html
-- UI: verifying checksums
-- UI: all checksums verified
-- UI: HF download succeeded, stamp updated (latest)
[ 37%] Built target llama-ui-assets
gmake: *** [Makefile:146: all] Error 2
`

First Bad Commit

No response

Relevant log output

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions