c++ - OpenCL doesn't detect GPU -


i installed amd app sdk , here problem. opencl samples not detect gpu. helloworld give me this:

[thomas@clemence:/opt/amdapp/samples/opencl/bin/x86_64]$ ./helloworld no gpu device available. choose cpu default device. input string: gdkknvnqkc  output string: helloworld passed! 

and here clinfo output

[thomas@clemence:~/documents/radeontop]$ clinfo number of platforms:                 1 platform profile:                full_profile platform version:                opencl 1.2 amd-app (1214.3) platform name:               amd accelerated parallel processing platform vendor:                 advanced micro devices, inc. platform extensions:                 cl_khr_icd cl_amd_event_callback  cl_amd_offline_devices   platform name:               amd accelerated parallel processing number of devices:               1 device type:                     cl_device_type_cpu device id:                   4098 board name:                   max compute units:               8 max work items dimensions:           3 max work items[0]:               1024 max work items[1]:               1024 max work items[2]:               1024 max work group size:                 1024 preferred vector width char:             16 preferred vector width short:            8 preferred vector width int:          4 preferred vector width long:             2 preferred vector width float:            8 preferred vector width double:       4 native vector width char:            16 native vector width short:           8 native vector width int:             4 native vector width long:            2 native vector width float:           8 native vector width double:          4 max clock frequency:                 3633mhz address bits:                    64 max memory allocation:           4182872064 image support:               yes max number of images read arguments:         128 max number of images write arguments:        8 max image 2d width:              8192 max image 2d height:                 8192 max image 3d width:              2048 max image 3d height:                 2048 max image 3d depth:              2048 max samplers within kernel:          16 max size of kernel argument:             4096 alignment (bits) of base address:        1024 minimum alignment (bytes) datatype:  128 single precision floating point capability denorms:                     yes quiet nans:                  yes round nearest even:           yes round zero:               yes round +ve , infinity:           yes ieee754-2008 fused multiply-add:         yes cache type:                  read/write cache line size:                 64 cache size:                  32768 global memory size:              16731488256 constant buffer size:                65536 max number of constant args:             8 local memory type:               global local memory size:               32768 kernel preferred work group size multiple:   1 error correction support:            0 unified memory host , device:      1 profiling timer resolution:          1 device endianess:                little available:                   yes compiler available:              yes execution capabilities:               execute opencl kernels:          yes execute native function:             yes queue properties:                 out-of-order:                no profiling :                  yes platform id:                     0x00007f4ef63f0fc0 name:                        intel(r) core(tm) i7-4790 cpu @ 3.60ghz vendor:                  genuineintel device opencl c version:             opencl c 1.2  driver version:              1214.3 (sse2,avx) profile:                     full_profile version:                     opencl 1.2 amd-app (1214.3) extensions:                  cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt  

what should in order have access gpu? in advance. i'm working on ubuntu 14.04.3 lts trusty kernel 3.9

here graphics card:

[thomas@elsa:~]$ lspci | grep -i --color 'vga' 00:02.0 vga compatible controller: intel corporation xeon e3-1200 v3/4th  gen core processor integrated graphics controller (rev 06) 01:00.0 vga compatible controller: advanced micro devices, inc. [amd/ati]  oland xt [radeon hd 8670 / r7 250/350] 

not gpu´s in market support opencl. check out if gpu support opencl? gpu drivers date?

when heppen me , root cause change graphics card, without update driver , deafult windows driver used.


Comments