找回密码
 新注册用户
搜索
楼主: coju

[求助] 这是出什么问题了?请教

[复制链接]
发表于 2013-9-1 19:59:49 | 显示全部楼层
clEnqueueNDRangeKernel 函数返回值为-55,根据《OpenCL规范》,这表示CL_INVALID_WORK_ITEM_SIZE,也就是说core17程序里给出的local_work_size[]参数大于了Max work items[0]或 Max work items[1]或 Max work items[2]。  换句话说,core17程序无法在你的显卡上运行。


如果下面的参数都是256或更大,那么满足core17的执行
  1. Max work items[0]:                           128
  2. Max work items[1]:                           128
  3. Max work items[2]:                           128
  4. Max work group size:                        128
复制代码
回复

使用道具 举报

发表于 2013-9-1 20:04:09 | 显示全部楼层
下面是我的显卡
  1. Microsoft Windows [版本 6.1.7601]
  2. 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

  3. C:\Windows\System32>clinfo
  4. Number of platforms:                             1
  5.   Platform Profile:                              FULL_PROFILE
  6.   Platform Version:                              OpenCL 1.2 AMD-APP (1124.2)
  7.   Platform Name:                                 AMD Accelerated Parallel Processing
  8.   Platform Vendor:                               Advanced Micro Devices, Inc.
  9.   Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_khr_d3d10_sh
  10. aring cl_khr_d3d11_sharing


  11.   Platform Name:                                 AMD Accelerated Parallel Processing
  12. Number of devices:                               2
  13.   Device Type:                                   CL_DEVICE_TYPE_GPU
  14.   Device ID:                                     4098
  15.   Board name:                                    AMD Radeon HD 7700 Series
  16.   Max compute units:                             10
  17.   Max work items dimensions:                     3
  18.     Max work items[0]:                           256
  19.     Max work items[1]:                           256
  20.     Max work items[2]:                           256
  21.   Max work group size:                           256
  22.   Preferred vector width char:                   4
  23.   Preferred vector width short:                  2
  24.   Preferred vector width int:                    1
  25.   Preferred vector width long:                   1
  26.   Preferred vector width float:                  1
  27.   Preferred vector width double:                 1
  28.   Native vector width char:                      4
  29.   Native vector width short:                     2
  30.   Native vector width int:                       1
  31.   Native vector width long:                      1
  32.   Native vector width float:                     1
  33.   Native vector width double:                    1
  34.   Max clock frequency:                           1100Mhz
  35.   Address bits:                                  32
  36.   Max memory allocation:                         536870912
  37.   Image support:                                 Yes
  38.   Max number of images read arguments:           128
  39.   Max number of images write arguments:          8
  40.   Max image 2D width:                            16384
  41.   Max image 2D height:                           16384
  42.   Max image 3D width:                            2048
  43.   Max image 3D height:                           2048
  44.   Max image 3D depth:                            2048
  45.   Max samplers within kernel:                    16
  46.   Max size of kernel argument:                   1024
  47.   Alignment (bits) of base address:              2048
  48.   Minimum alignment (bytes) for any datatype:    128
  49.   Single precision floating point capability
  50.     Denorms:                                     No
  51.     Quiet NaNs:                                  Yes
  52.     Round to nearest even:                       Yes
  53.     Round to zero:                               Yes
  54.     Round to +ve and infinity:                   Yes
  55.     IEEE754-2008 fused multiply-add:             Yes
  56.   Cache type:                                    Read/Write
  57.   Cache line size:                               64
  58.   Cache size:                                    16384
  59.   Global memory size:                            1073741824
  60.   Constant buffer size:                          65536
  61.   Max number of constant args:                   8
  62.   Local memory type:                             Scratchpad
  63.   Local memory size:                             32768
  64.   Kernel Preferred work group size multiple:     64
  65.   Error correction support:                      0
  66.   Unified memory for Host and Device:            0
  67.   Profiling timer resolution:                    1
  68.   Device endianess:                              Little
  69.   Available:                                     Yes
  70.   Compiler available:                            Yes
  71.   Execution capabilities:
  72.     Execute OpenCL kernels:                      Yes
  73.     Execute native function:                     No
  74.   Queue properties:
  75.     Out-of-Order:                                No
  76.     Profiling :                                  Yes
  77.   Platform ID:                                   5758B864
  78.   Name:                                          Capeverde
  79.   Vendor:                                        Advanced Micro Devices, Inc.
  80.   Device OpenCL C version:                       OpenCL C 1.2
  81.   Driver version:                                1124.2 (VM)
  82.   Profile:                                       FULL_PROFILE
  83.   Version:                                       OpenCL 1.2 AMD-APP (1124.2)
  84.   Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_
  85. int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_
  86. khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters
  87. _32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d1
  88. 0_sharing cl_amd_c1x_atomics


  89.   Device Type:                                   CL_DEVICE_TYPE_CPU
  90.   Device ID:                                     4098
  91.   Board name:
  92.   Max compute units:                             4
  93.   Max work items dimensions:                     3
  94.     Max work items[0]:                           1024
  95.     Max work items[1]:                           1024
  96.     Max work items[2]:                           1024
  97.   Max work group size:                           1024
  98.   Preferred vector width char:                   16
  99.   Preferred vector width short:                  8
  100.   Preferred vector width int:                    4
  101.   Preferred vector width long:                   2
  102.   Preferred vector width float:                  4
  103.   Preferred vector width double:                 2
  104.   Native vector width char:                      16
  105.   Native vector width short:                     8
  106.   Native vector width int:                       4
  107.   Native vector width long:                      2
  108.   Native vector width float:                     4
  109.   Native vector width double:                    2
  110.   Max clock frequency:                           1799Mhz
  111.   Address bits:                                  32
  112.   Max memory allocation:                         1073741824
  113.   Image support:                                 Yes
  114.   Max number of images read arguments:           128
  115.   Max number of images write arguments:          8
  116.   Max image 2D width:                            8192
  117.   Max image 2D height:                           8192
  118.   Max image 3D width:                            2048
  119.   Max image 3D height:                           2048
  120.   Max image 3D depth:                            2048
  121.   Max samplers within kernel:                    16
  122.   Max size of kernel argument:                   4096
  123.   Alignment (bits) of base address:              1024
  124.   Minimum alignment (bytes) for any datatype:    128
  125.   Single precision floating point capability
  126.     Denorms:                                     Yes
  127.     Quiet NaNs:                                  Yes
  128.     Round to nearest even:                       Yes
  129.     Round to zero:                               Yes
  130.     Round to +ve and infinity:                   Yes
  131.     IEEE754-2008 fused multiply-add:             Yes
  132.   Cache type:                                    Read/Write
  133.   Cache line size:                               64
  134.   Cache size:                                    24576
  135.   Global memory size:                            2136137728
  136.   Constant buffer size:                          65536
  137.   Max number of constant args:                   8
  138.   Local memory type:                             Global
  139.   Local memory size:                             32768
  140.   Kernel Preferred work group size multiple:     1
  141.   Error correction support:                      0
  142.   Unified memory for Host and Device:            1
  143.   Profiling timer resolution:                    568
  144.   Device endianess:                              Little
  145.   Available:                                     Yes
  146.   Compiler available:                            Yes
  147.   Execution capabilities:
  148.     Execute OpenCL kernels:                      Yes
  149.     Execute native function:                     Yes
  150.   Queue properties:
  151.     Out-of-Order:                                No
  152.     Profiling :                                  Yes
  153.   Platform ID:                                   5758B864
  154.   Name:                                                   Intel(R) Atom(TM) CPU D525   @ 1.80GHz
  155.   Vendor:                                        GenuineIntel
  156.   Device OpenCL C version:                       OpenCL C 1.2
  157.   Driver version:                                1124.2 (sse2)
  158.   Profile:                                       FULL_PROFILE
  159.   Version:                                       OpenCL 1.2 AMD-APP (1124.2)
  160.   Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_
  161. int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr
  162. _byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf
  163. cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing



  164. C:\Windows\System32>
复制代码
回复

使用道具 举报

 楼主| 发表于 2013-9-1 21:50:09 | 显示全部楼层
wpf999 发表于 2013-9-1 20:04
下面是我的显卡

感谢感谢,太专业了,那请问该如何处理呢?我不跑core17可以吗?只跑core15?应该如何设置下。
回复

使用道具 举报

发表于 2013-9-1 23:04:04 | 显示全部楼层
coju 发表于 2013-9-1 21:50
感谢感谢,太专业了,那请问该如何处理呢?我不跑core17可以吗?只跑core15?应该如何设置下。 ...

core15是为N卡准备的,你可选择的只有core16,去掉beta参数即可
回复

使用道具 举报

发表于 2013-9-1 23:08:36 | 显示全部楼层
coju 发表于 2013-9-1 21:50
感谢感谢,太专业了,那请问该如何处理呢?我不跑core17可以吗?只跑core15?应该如何设置下。 ...

果然是core17引起的,到configure下的 expert选项卡中删除 client-type = beta这个参数,如下图:

screenshot.png


回复

使用道具 举报

 楼主| 发表于 2013-9-2 08:39:39 | 显示全部楼层
wpf999 发表于 2013-9-1 23:04
core15是为N卡准备的,你可选择的只有core16,去掉beta参数即可

已经删除beta参数,但是还是显示core17,计算的包是8900。需要重新安装FAH程序吗?
回复

使用道具 举报

发表于 2013-9-2 08:43:22 | 显示全部楼层
coju 发表于 2013-9-2 08:39
已经删除beta参数,但是还是显示core17,计算的包是8900。需要重新安装FAH程序吗? ...

关闭fah,删除work目录下全部文件,重启试试。
回复

使用道具 举报

 楼主| 发表于 2013-9-2 10:24:39 | 显示全部楼层
wpf999 发表于 2013-9-2 08:43
关闭fah,删除work目录下全部文件,重启试试。

关闭了FAH,然后删除work文件夹后,重新启动,还是不行。
然后我把FAH程序卸载了,把C:\Users\Administrator\AppData\Roaming\FAHClient下面所有文件和文件夹全部删除,然后重新安装FAH程序,安装完成后程序显示更新CORE,然后GPU任务又下载8900的包了,然后就报-55这个错误了。
郁闷死了,怎么就不行呢?

回复

使用道具 举报

发表于 2013-9-2 11:36:46 来自手机 | 显示全部楼层
会自动升级,那就别跑了,换个项目啊,或换显卡
回复

使用道具 举报

 楼主| 发表于 2013-9-2 13:47:33 | 显示全部楼层
Lynt 发表于 2013-9-1 23:08
果然是core17引起的,到configure下的 expert选项卡中删除 client-type = beta这个参数,如下图:

删除了beta参数也不行,还是自动计算core17的包。
回复

使用道具 举报

发表于 2013-9-2 14:38:33 | 显示全部楼层
coju 发表于 2013-9-2 13:47
删除了beta参数也不行,还是自动计算core17的包。

显卡计算我比较少接触,之前也是用笔记本显卡加beta参数跑core17出错,后来去掉就一直正常到现在,不知道用屏蔽任务服务器的方法能不能选择?呼叫金版@金鹏
回复

使用道具 举报

发表于 2013-9-2 16:51:22 | 显示全部楼层
Lynt 发表于 2013-9-2 14:38
显卡计算我比较少接触,之前也是用笔记本显卡加beta参数跑core17出错,后来去掉就一直正常到现在,不知道 ...

可以试试屏蔽出错任务服务器IP方法,一般来讲GPU任务分配服务器AS在分配一个任务服务器长时间不响应会调用不同IP的任务服务器
回复

使用道具 举报

发表于 2013-9-2 17:30:25 | 显示全部楼层
本帖最后由 Lynt 于 2013-9-2 17:33 编辑
coju 发表于 2013-9-2 13:47
删除了beta参数也不行,还是自动计算core17的包。

谢谢金版解答,参考这贴试试:http://www.equn.com/forum/thread-36043-1-8.html,记录core17包的服务器地址屏蔽掉
注意还可以在Windows防火墙上做,见该贴24楼
回复

使用道具 举报

发表于 2013-9-2 18:13:56 | 显示全部楼层
Lynt 发表于 2013-9-2 17:30
谢谢金版解答,参考这贴试试:http://www.equn.com/forum/thread-36043-1-8.html,记录core17包的服务器地 ...


7810/11           171.64.65.98
8900          171.64.65.69
回复

使用道具 举报

 楼主| 发表于 2013-9-3 07:45:40 | 显示全部楼层
金鹏 发表于 2013-9-2 18:13
7810/11           171.64.65.98
8900          171.64.65.69

金版,还是不行啊,我把你说的8900          171.64.65.69这个IP地址通过WIN7自带的防火墙给屏蔽了,然后FAH程序还是不停的连接这个地址,下面是截图,请帮助。
QQ截图20130903074213.png
截图上显示已经尝试连接13次,但是都不成功,距离下次尝试连接4小时56分钟。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2024-5-4 00:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表