- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can find the cl_khr_fp64 extension, required for double precision, on a Ubuntu 14.04 running on Amazon EC2 using Intel Xeon and Intel Code Builder for OpenCL API 2015 for Ubuntu:
--------------------------------------------------------------------------- OS name: Linux Release:3.13.0-52-generic Version:#86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 Machine:x86_64 Platform name = Intel(R) OpenCL Platform version = OpenCL 1.2 LINUX Platform extensions = cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64
Device name = Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Device version = OpenCL 1.2 (Build 43)
Device global memory size= 1040732160
Device available? Yes
Device extensions= cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64
Following double precision features supported:
INF and NaN values
Denormalized numbers
Round To Nearest Even mode
Round To Infinity mode
Round To Zero mode
Floating-point multiply-and-add operation
----------------------------------------------------------------------------
I can also see that extension for Core i7-2620M:
- OpenCL HowTo (running Linux)
- Compubench (for OS X)
But I dont see that extension on my home system with Ubuntu 14.04 running as a VirtualBox machine within Windows 7 using Core i7-2620M and the same Intel Code Builder for OpenCL API 2015 for Ubuntu, as the one on Amazon EC2:
-----------------------------------------------------------------------------------------------------------------------
OS name: Linux Release:3.13.0-53-generic Version:#89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 Machine:x86_64 Platform name = Intel(R) OpenCL Platform version = OpenCL 1.2 LINUX Platform extensions = cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir Device name = Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz Device version = OpenCL 1.2 (Build 43) Device global memory size= 3156189184
Device available? Yes Device extensions= cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir Double precision not supported------------------------------------------------------------------------
How can I get that extension for my home system above?
Thanks in advance!
PS: Checked for double precision using...
cl_device_fp_config flag; ret = clGetDeviceInfo(device_id, CL_DEVICE_DOUBLE_FP_CONFIG, sizeof(flag), &flag, NULL); if (!flag) printf("Double precision not supported \n\n"); else printf("Following double precision features supported:\n"); if(flag & CL_FP_INF_NAN) printf(" INF and NaN values\n"); if(flag & CL_FP_DENORM) printf(" Denormalized numbers\n"); if(flag & CL_FP_ROUND_TO_NEAREST) printf(" Round To Nearest Even mode\n"); if(flag & CL_FP_ROUND_TO_INF) printf(" Round To Infinity mode\n"); if(flag & CL_FP_ROUND_TO_ZERO) printf(" Round To Zero mode\n"); if(flag & CL_FP_FMA) printf(" Floating-point multiply-and-add operation\n\n");
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How you managed to install Code Builder onto a 14.04? It is released just for 12.04.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
andrea d. wrote:
How you managed to install Code Builder onto a 14.04? It is released just for 12.04.
Yup, saw your other question here on that (but dont know the answer). That 'unsupported OS' warning during installation was optional, and so I went ahead and installed it anyways. It works fine so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thanks :) Have you found the double precision extension? Keep us posted!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page