Skip to content

Guard hip bf16 include for ROCm#15

Open
volkermauel wants to merge 1 commit intomainfrom
codex/fix-missing-header-error-in-build
Open

Guard hip bf16 include for ROCm#15
volkermauel wants to merge 1 commit intomainfrom
codex/fix-missing-header-error-in-build

Conversation

@volkermauel
Copy link
Copy Markdown
Owner

Summary

  • check for amd_hip_bf16.h before including hip_bf16.h to avoid missing header build failure on ROCm

Testing

  • SKIP=flake8 pre-commit run --files ggml/src/ggml-cuda/vendors/hip.h
  • cmake -S . -B build
  • cmake --build build -j 2

https://chatgpt.com/codex/tasks/task_b_688ef6d189fc83259cabdf198bb9e0f1

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