Skip to content

ROCm fix: replace host-side rsqrtf with 1/sqrtf for HIP compatibility#117

Open
reffdev wants to merge 1 commit into
antirez:rocmfrom
reffdev:patch-1
Open

ROCm fix: replace host-side rsqrtf with 1/sqrtf for HIP compatibility#117
reffdev wants to merge 1 commit into
antirez:rocmfrom
reffdev:patch-1

Conversation

@reffdev
Copy link
Copy Markdown

@reffdev reffdev commented May 13, 2026

rsqrtf is device-only in HIP, causing build failure on ROCm.

The two affected call sites are host code preparing cublas alpha.

rsqrtf is device-only in HIP, causing build failure on ROCm.

The two affected call sites are host code preparing cublas alpha.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant