You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function in <hip/hip_bf16.h> is defined without inline , which will cause multi definition error when using this header file in multi .cu/.hip files.
NixOS#286720 introduced these patches to address
a specific compilation error mentioned in ROCm/HIP#3403,
but added them to the source tree because they were originally for ROCm 6.
For ROCm 6, we can now switch to using fetchpatch to get the original commits as patches.
Problem Description
The function in <hip/hip_bf16.h> is defined without inline , which will cause multi definition error when using this header file in multi .cu/.hip files.
For example the code:
Operating System
Ubuntu 22.04
CPU
AMD EPYC
GPU
AMD Instinct MI250
ROCm Version
ROCm 6.0.0
ROCm Component
HIP
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: