cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

barno
Journeyman III

cl_amd_fp64 not working on HD6970

building my program using cl_amd_fp64 extension fails on HD6970 (but works on CPU!)

cl_amd_fp64 should be supported by the HD6970, right? When I query the device it returns it as a supported extension. When I try to build a program where I enable that extension by

#pragma OPENCL EXTENSION cl_amd_fp64 : enable

it fails with the error

error: can't enable all OpenCL extensions or unrecognized OpenCL extension

but it works when I build it for the CPU. Any suggestions?

 

0 Likes
8 Replies
barno
Journeyman III

has anyone ever successfully used cl_amd_fp64 extension with an HD6970?

0 Likes

Hi barno,

I am able to run double related code on my HD 6970.

Can you please specify your system details: CPU, GPU(if more present),SDK,Driver & OS.

 

0 Likes

CPU: Intel Core i7-970
GPU 1: HD 6870
GPU 2: HD 6970
Driver & SDK from Catalyst 11.5 package
OS: Windows 7 64bit Enterprise

Thanks!

0 Likes

Do you create a context with both the GPU in it ? In that case when clBuildProgram is called it will build the kernel for all devices in the context and you might double not supported error because HD 6870 doesn't support it.

Thanks

0 Likes

ahh, that could be it! I will try it on Monday, thanks!

0 Likes

that was indeed the problem! Thanks for your help!

0 Likes

0 Likes

Good to know, thanks!

0 Likes