<div dir="ltr">Maybe I know why it doesn't work<div><br></div><div><br></div><div><a href="https://community.amd.com/t5/opencl/fixes-for-amd-installer-ubuntu-16-04-x86-64-dec-30-2017/td-p/135646">https://community.amd.com/t5/opencl/fixes-for-amd-installer-ubuntu-16-04-x86-64-dec-30-2017/td-p/135646</a><br></div><div><br></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px">export LD_LIBRARY_PATH=/opt/AMDAPPSDK-3.0/lib/x86_64/:/opt/AMDAPPSDK-3.0/lib/x86_64/sdk</span><br></div><div><br></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px">clinfo works now.</span><br></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> clinfo <br>Number of platforms:                               1<br>  Platform Profile:                                 FULL_PROFILE<br>  Platform Version:                              OpenCL 2.0 AMD-APP (1800.8)<br>  Platform Name:                          AMD Accelerated Parallel Processing<br>  Platform Vendor:                                Advanced Micro Devices, Inc.<br>  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices <br><br><br>  Platform Name:                                 AMD Accelerated Parallel Processing<br>Number of devices:                                 1<br>  Device Type:                                      CL_DEVICE_TYPE_CPU<br>  Vendor ID:                                       1002h<br>  Board name:                                   <br>  Max compute units:                                 8<br>  Max work items dimensions:                        3<br>    Max work items[0]:                             1024<br>    Max work items[1]:                          1024<br>    Max work items[2]:                          1024<br>  Max work group size:                           1024<br>  Preferred vector width char:                   16<br>  Preferred vector width short:                    8<br>  Preferred vector width int:                       4<br>  Preferred vector width long:                      2<br>  Preferred vector width float:                     8<br>  Preferred vector width double:            4<br>  Native vector width char:                         16<br>  Native vector width short:                       8<br>  Native vector width int:                  4<br>  Native vector width long:                         2<br>  Native vector width float:                        8<br>  Native vector width double:                       4<br>  Max clock frequency:                              3974Mhz<br>  Address bits:                                       64<br>  Max memory allocation:                   4176266240<br>  Image support:                           Yes<br>  Max number of images read arguments:            128<br>  Max number of images write arguments:           64<br>  Max image 2D width:                              8192<br>  Max image 2D height:                           8192<br>  Max image 3D width:                            2048<br>  Max image 3D height:                           2048<br>  Max image 3D depth:                            2048<br>  Max samplers within kernel:                    16<br>  Max size of kernel argument:                     4096<br>  Alignment (bits) of base address:              1024<br>  Minimum alignment (bytes) for any datatype:    128<br>  Single precision floating point capability<br>    Denorms:                                      Yes<br>    Quiet NaNs:                                  Yes<br>    Round to nearest even:                       Yes<br>    Round to zero:                               Yes<br>    Round to +ve and infinity:                   Yes<br>    IEEE754-2008 fused multiply-add:             Yes<br>  Cache type:                                     Read/Write<br>  Cache line size:                                 64<br>  Cache size:                                      32768<br>  Global memory size:                           16705064960<br>  Constant buffer size:                           65536<br>  Max number of constant args:                  8<br>  Local memory type:                                Global<br>  Local memory size:                           32768<br>  Max pipe arguments:                           16<br>  Max pipe active reservations:                    16<br>  Max pipe packet size:                            4176266240<br>  Max global variable size:                        1879048192<br>  Max global variable preferred total size:        1879048192<br>  Max read/write image args:                       64<br>  Max on device events:                            0<br>  Queue on device max size:                         0<br>  Max on device queues:                             0<br>  Queue on device preferred size:           0<br>  SVM capabilities:                                 <br>    Coarse grain buffer:                    No<br>    Fine grain buffer:                            No<br>    Fine grain system:                            No<br>    Atomics:                                      No<br>  Preferred platform atomic alignment:             0<br>  Preferred global atomic alignment:                0<br>  Preferred local atomic alignment:                 0<br>  Kernel Preferred work group size multiple:        1<br>  Error correction support:                         0<br>  Unified memory for Host and Device:               1<br>  Profiling timer resolution:                       1<br>  Device endianess:                                 Little<br>  Available:                                   Yes<br>  Compiler available:                             Yes<br>  Execution capabilities:                                 <br>    Execute OpenCL kernels:                         Yes<br>    Execute native function:                     Yes<br>  Queue on Host properties:                               <br>    Out-of-Order:                           No<br>    Profiling :                                   Yes<br>  Queue on Device properties:                             <br>    Out-of-Order:                           No<br>    Profiling :                                   No<br>  Platform ID:                                     0x7f39310c5430<br>  Name:                                                Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz<br>  Vendor:                                    GenuineIntel<br>  Device OpenCL C version:                       OpenCL C 1.2 <br>  Driver version:                               1800.8 (sse2,avx)<br>  Profile:                                  FULL_PROFILE<br>  Version:                                       OpenCL 1.2 AMD-APP (1800.8)<br>  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 cl_khr_spir cl_khr_gl_event <br></blockquote><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px">Vadim , Thank you very much.</span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:14px"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">雪碧 0xroot <<a href="mailto:renxianyuanqi@gmail.com">renxianyuanqi@gmail.com</a>> 于2020年12月13日周日 上午11:34写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for your quickly reply</div><div dir="ltr"><br></div><div dir="ltr">> is it Radeon RX Vega M GH?</div><div> Yes <span style="color:rgb(77,81,86);font-family:arial,sans-serif;font-size:14px">Radeon™ RX Vega M graphics</span></div><div><span style="color:rgb(77,81,86);font-family:arial,sans-serif;font-size:14px"><br></span></div>> Are you sure you have an OpenCL run-time installed?<div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> dpkg -l |grep opencl<br>ii  libopencl1-amdgpu-pro:amd64                   20.20-1089974                                    amd64        AMD OpenCL ICD Loader library<br>ii  ocl-icd-libopencl1:amd64                      2.2.11-1ubuntu1                                  amd64        Generic OpenCL ICD Loader<br>ii  ocl-icd-opencl-dev:amd64                      2.2.11-1ubuntu1                                  amd64        OpenCL development files<br>ii  opencl-amdgpu-pro-comgr                       20.20-1089974                                    amd64        non-free AMD OpenCL ICD Loaders<br>ii  opencl-amdgpu-pro-icd                         20.20-1089974                                    amd64        non-free AMD OpenCL ICD Loaders<br>ii  opencl-c-headers                              2.2~2018.02.21-gb5c3680-1                        all          OpenCL (Open Computing Language) C header files<br>ii  opencl-clhpp-headers                          2.0.10+git12-g5dd8bb9-1                          all          C++ headers for OpenCL development<br>ii  opencl-headers                                2.2~2018.02.21-gb5c3680-1                        all          OpenCL (Open Computing Language) header files<br>ii  opencl-orca-amdgpu-pro-icd:amd64              20.20-1089974                                    amd64        non-free AMD OpenCL ICD Loaders</blockquote><div><br></div><div>>What does 'clinfo' show?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> clinfo <br>Number of platforms:                                 1<br>  Platform Profile:                                 FULL_PROFILE<br>  Platform Version:                              OpenCL 2.1 AMD-APP (3110.6)<br>  Platform Name:                          AMD Accelerated Parallel Processing<br>  Platform Vendor:                                Advanced Micro Devices, Inc.<br>  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices <br><br><br>  Platform Name:                                 AMD Accelerated Parallel Processing<br>ERROR: clGetDeviceIDs(-1)<br></blockquote><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Vadim Yanitskiy <<a href="mailto:axilirator@gmail.com" target="_blank">axilirator@gmail.com</a>> 于2020年12月12日周六 下午7:24写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hey,</div><div><br></div><div>> I am using nuc8i7hvk which devices with AMD® Radeon graphics.</div><div><br></div><div>is it Radeon RX Vega M GH?</div><div><br></div><div>> [w] CL Error (-1, cl.c:309): Unable to fetch device IDs for platform 0. Skipping.</div><div>> [!] No suitable OpenCL device found</div><div><br></div><div>Are you sure you have an OpenCL run-time installed?</div><div>What does 'clinfo' show?<br></div><div dir="ltr"><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br></div><div>Vadim Yanitskiy.<br></div></div></div></div></div></div><br></div></div>
</blockquote></div></div></div></div>
</blockquote></div>