Skip to content

ggml-cpu: fix RVV checks in quants and repacking#13

Closed
taimur-10x wants to merge 2 commits intomasterfrom
10x/riscv-fix
Closed

ggml-cpu: fix RVV checks in quants and repacking#13
taimur-10x wants to merge 2 commits intomasterfrom
10x/riscv-fix

Conversation

@taimur-10x
Copy link
Collaborator

@taimur-10x taimur-10x commented Mar 17, 2026

Summary

This PR adds macros for checking RVV availability in quantized vector-dot kernels and repack GEMM/GEMV.

Key Changes

  • Added __riscv_v_intrinsic checks for RVV vector-dot kernels
  • Added __riscv_zvfh check for repack GEMM/GEMV. Repacking pathway is only enabled if zvfh is available, otherwise it returns nullptr.

@taimur-10x taimur-10x changed the title ggml-cpu: fix RVV detected in vector dot and repacking ggml-cpu: fix RVV detection in vector dot and repacking Mar 17, 2026
@github-actions github-actions bot added the ggml label Mar 17, 2026
@taimur-10x taimur-10x changed the title ggml-cpu: fix RVV detection in vector dot and repacking ggml-cpu: fix RVV checks in quants and repacking Mar 17, 2026
@taimur-10x taimur-10x self-assigned this Mar 17, 2026
@taimur-10x taimur-10x closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant