OpenCL: working with doubles error -


the error states: error: can't enable opencl extensions or unrecognized opencl extension
#pragma opencl extension cl_khr_fp64 : enable

system configuration:

  • windows 7 on 64 bit
  • notebook ati mobility radeon hd 5400 series
  • visual studio 2010

drivers installed:

  • amd-app-sdk-v2.8-windows-64
  • amd_catalyst_13.5_mobility_beta3

how can solve problem because need use double type in kernel? directive declared in first kernel line.

your gpu doesn't support double precision. why opencl runtime reporting cannot enable cl_khr_fp64 extension. if need double precision, try using cpu opencl device instead , run kernel on that.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -