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
/opt/rocm-6.2.0/lib/llvm/bin/../../../include/hip/amd_detail/amd_hip_fp16.h:280:24: note: candidate function not viable: call to device function from host function
280 | __half operator*(const __half& x, const __half& y)
/opt/rocm-6.2.0/lib/llvm/bin/../../../include/hip/amd_detail/amd_hip_fp16.h:287:24: note: candidate function not viable: call to device function from host function
287 | __half operator/(const __half& x, const __half& y)
| ^
The text was updated successfully, but these errors were encountered:
One thing you might need to do (for now) here is pass on _Float16 for hosts and __half for device. Something like this: https://gist.github.com/cjatin/b92a5b51adc2e0e4a60d4ad7c4d2fdc2 (although there might be better design possible than what I wrote here)
I think we should add the host operators, will create a task for it internally to track and add these.
I am not sure if the issues were reported before.
/opt/rocm-6.2.0/lib/llvm/bin/../../../include/hip/amd_detail/amd_hip_fp16.h:280:24: note: candidate function not viable: call to device function from host function
280 | __half operator*(const __half& x, const __half& y)
/opt/rocm-6.2.0/lib/llvm/bin/../../../include/hip/amd_detail/amd_hip_fp16.h:287:24: note: candidate function not viable: call to device function from host function
287 | __half operator/(const __half& x, const __half& y)
| ^
The text was updated successfully, but these errors were encountered: