Hi,
I am trying to run the helloworld sample shipped with the installer of ArrayFire 2.0 and encounter some problems occuring at runtime.
My configuration looks like this
- Windows 7 64-bit
- GForce graphics Adapter with OpenCL 1.1
- Intel 3rd Generation CPU with openCl 1.2
- Intel HD 2500 graphics Adapter with openCL 1.2
So I tried to get the helloworld running on each device.
1. I tried the GForce, where everything went fine and the example terminated properly.
2. I tried the integrated Intel graphics adapter and got the following error message:
____________________________________________________________________________________________________
BUILD LOG
************************************************
:102:22: error: use of type 'double' requires cl_khr_fp64 extension to be enable
d
sub[i] = MEM_ACCESS(subs[i].d.gpu.tp, sub[i]); // look up in buffer
^
:56:34: note: expanded from macro 'MEM_ACCESS'
(unsigned)((__global const double *)g)[index]) - base)
^
:123:22: error: use of type 'double' requires cl_khr_fp64 extension to be enable
d
sub[i] = MEM_ACCESS(subs[i].d.gpu.tp, sub[i]); // look up in buffer
^
:56:34: note: expanded from macro 'MEM_ACCESS'
(unsigned)((__global const double *)g)[index]) - base)
^
:127:22: error: use of type 'double' requires cl_khr_fp64 extension to be enable
d
sub[i] = MEM_ACCESS(subs[i].d.gpu.tp, dims[i] * id + sub[i]); // ind
ex into tile
^
:56:34: note: expanded from macro 'MEM_ACCESS'
(unsigned)((__global const double *)g)[index]) - base)
^
:131:22: error: use of type 'double' requires cl_khr_fp64 extension to be enable
d
sub[i] = MEM_ACCESS(subs[i].d.gpu.tp, id); // look up tile
^
:56:34: note: expanded from macro 'MEM_ACCESS'
(unsigned)((__global const double *)g)[index]) - base)
^
error: front end compiler failed build.
************************************************
src/opencl/init.cpp:406: Failed to build program
[/b]
________________________________________________________________________________________________
3. I tried the CPU device and got this error message box:
________________________________________________________________________________________________
Runtime Error!
Program: C:\....
R6025
- pure virtual function call
________________________________________________________________________________________________
Is there a reason why the program would not run on my Intel devices?
Does anybody know how I can fix this?
Thanks,
Daniel