ROCm / ROCm-Device-Libs

ROCm Device Libraries
97 stars 60 forks source link

"requires cl_khr_fp64 extension to be enabled" #10

Closed PhilipDeegan closed 7 years ago

PhilipDeegan commented 7 years ago

gist

nhaustov commented 7 years ago

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.

aditya4d1 commented 7 years ago

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

kzhuravl commented 7 years ago

I will merge a fix in a bit.

kzhuravl commented 7 years ago

Hi @Dekken and @adityaatluri,

Can you rebuild clang with this merge included: https://github.com/RadeonOpenCompute/clang/pull/26

And try to build device libs again?

Thanks, Konstantin

aditya4d1 commented 7 years ago

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

Update: Worked!

PhilipDeegan commented 7 years ago

Fixed on my end too