OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

convert_double function unimplemented on GPU

Lubomir_A_
Beginner
146 Views

The following code fails to compile:

kernel void f2(global double* W)
{
    uint w;
    convert_double(w);
}

The error is: Error, unimplemented function called: _Z14convert_doublej()

 

0 Kudos
2 Replies
Lubomir_A_
Beginner
146 Views

The regular conversion operator (double) also gives this message. This is with the 2014 SDK, on Intel HD 4000.

Robert_I_Intel
Employee
146 Views

Lubomir,

We currently don't support cl_khr_fp64 extension, which enables doubles support. There hardware actually supports doubles, so there are internal discussions going on about enabling doubles support in the future

Reply