ROCm/ROCm-Device-Libs

"requires cl_khr_fp64 extension to be enabled"

Closed this issue · 6 comments

The files are compiled with -cl-std=CL2.0 and explicitly enabling cl_khr_fp64 extension should not be necessary. Some recent change in clang must have broken this.

Hi @nhaustov ,
I am able to reproduce the error.

I will merge a fix in a bit.

Hi @dekken and @adityaatluri,

Can you rebuild clang with this merge included:
ROCm/clang#26

And try to build device libs again?

Thanks,
Konstantin

Hi @kzhuravl ,
Works fine. Building HCC 4.0 now, will let you know if anything breaks there (components from rocdl).

Update: Worked!

Fixed on my end too