Author Topic: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected  (Read 18149 times)

0 Members and 1 Guest are viewing this topic.

Offline krpetrov

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
error when run build5

windows 7 64bit HD7950 and build 4 runs normally




                                                  ^

"C:\Users\John\AppData\Local\Temp\OCL469B.tmp.cl", line 255: error: expression
          must have pointer-to-struct-or-union type
        step0to15(0); step0to15(1); step0to15(2); step0to15(3);
                                                  ^

Error limit reached.
100 errors detected in the compilation of "C:\Users\John\AppData\Local\Temp\OCL4
69B.tmp.cl".
Compilation terminated.

Frontend phase failed compilation.

---  End log  ---
Assertion failed!

Program: H:\jhProtominer-win64-mingw-build5\jhProtominer\jhProtominer.exe
File: OpenCLObjects.cpp, Line 310

Expression: !error

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Got same error too.

Offline Bigboppa

  • Jr. Member
  • **
  • Posts: 30
    • View Profile
Same error here...  :(
win7_x64, 2x R9280
Hope you can fix this!  :-*

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
error when run build5

windows 7 64bit HD7950 and build 4 runs normally




                                                  ^

"C:\Users\John\AppData\Local\Temp\OCL469B.tmp.cl", line 255: error: expression
          must have pointer-to-struct-or-union type
        step0to15(0); step0to15(1); step0to15(2); step0to15(3);
                                                  ^

Error limit reached.
100 errors detected in the compilation of "C:\Users\John\AppData\Local\Temp\OCL4
69B.tmp.cl".
Compilation terminated.

Frontend phase failed compilation.

---  End log  ---
Assertion failed!

Program: H:\jhProtominer-win64-mingw-build5\jhProtominer\jhProtominer.exe
File: OpenCLObjects.cpp, Line 310

Expression: !error

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

probably used some dialect that AMD does not recognize. (tested on NVidia only). I will test with AMD later today and correct the errors. Thanks for the report.

Offline slacking

  • Jr. Member
  • **
  • Posts: 47
    • View Profile
error when run build5

windows 7 64bit HD7950 and build 4 runs normally


I have Windows 8.1 64 bit, overclocked Radeon 7950, -a gpuv6 -m512 (1024 crashes)...getting in the 930 cpm range.

http://i.imgur.com/LrIeoBq.jpg

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Same error here...  :(
win7_x64, 2x R9280
Hope you can fix this!  :-*

Fixed the new implementation so it works on AMD. All that had " error: expression must have pointer-to-struct-or-union type" type errors, please download the new version (build6), or simply update the sha512vectorized.cl file in your already downloaded build5.

Thanks to all for the bug reports and for the patience.
girino.

Offline slacking

  • Jr. Member
  • **
  • Posts: 47
    • View Profile

Fixed the new implementation so it works on AMD. All that had " error: expression must have pointer-to-struct-or-union type" type errors, please download the new version (build6), or simply update the sha512vectorized.cl file in your already downloaded build5.

Thanks to all for the bug reports and for the patience.
girino.

Updated to V6 of the miner. Windows 8.1 64 bit, overclocked Radeon 7950, -a gpuv7 (used to crash on this before) -m512 (1024 still crashes)...now getting in the 1030 cpm range.

http://i.imgur.com/0jc0v5y.jpg

Update: After running for half a hour or so, cpm's rose and stabilized at around 1048....not too darn bad for a Radeon 7950.

Update: After running for a few hours, cpm's are at a stable 1056.
« Last Edit: January 26, 2014, 11:23:19 pm by slacking »

Offline Bigboppa

  • Jr. Member
  • **
  • Posts: 30
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #51 on: January 26, 2014, 07:26:03 pm »
new v6 works like a charm! 2300 cpm with 2x 9280x (-a gpuv7 -m1024) !   :)

Offline krpetrov

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #52 on: January 26, 2014, 08:53:02 pm »
Someone with Nvidia - how much collisions per minutes do you get?

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #53 on: January 26, 2014, 08:56:15 pm »
here is a new, fast miner for AMD gpus: https://bitsharestalk.org/index.php?topic=2598.0

Offline rots

  • Newbie
  • *
  • Posts: 12
    • View Profile
quite astonished that
6850 800cpm !!!
270x 650cpm
280x 1100cpm

6850 seems drugged!

Same error here...  :(
win7_x64, 2x R9280
Hope you can fix this!  :-*

Fixed the new implementation so it works on AMD. All that had " error: expression must have pointer-to-struct-or-union type" type errors, please download the new version (build6), or simply update the sha512vectorized.cl file in your already downloaded build5.

Thanks to all for the bug reports and for the patience.
girino.

Offline jwiz168

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #55 on: January 29, 2014, 10:42:53 pm »
share invalid : data time overflow  <--- this is the error . using 7970 win 7  64 bit

Offline krpetrov

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #56 on: February 22, 2014, 07:39:36 am »
Need help running miner on Ubuntu 13.10.

5850 1GB wont run. I get the following error -
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

Any advice? What should I do ?

Offline girino

  • Full Member
  • ***
  • Posts: 73
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #57 on: February 22, 2014, 03:11:09 pm »
Need help running miner on Ubuntu 13.10.

5850 1GB wont run. I get the following error -
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

Any advice? What should I do ?

try running with "-a gpuv9" and different values for -m (-m128 is sure to work, -m256 probably works, -m512 if it works will be the best)

Offline feelgood2

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #58 on: February 22, 2014, 03:17:50 pm »
Something weird happen with your miner. When I first tried it, I received over 600 coll/min.
Then I tried to play with memory setting by using -m. When I try -m1024, it crashes. For others I get very low coll/min. Now, when I remove -m I get 250 colls/min.
Downloaded ver6 again but without change. Can't get more than 250 colls/min. Currently using Nan's version and getting 450 colls/min.

Card is 6870 1GB

Edit: tried this -a gpuv9 and is working for half an hour over 850. Great work!
« Last Edit: February 23, 2014, 09:28:07 am by feelgood2 »

Offline krpetrov

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
Re: OpenCL GPU miner by girino for ypool.net - edit: bug on AMD corrected
« Reply #59 on: February 22, 2014, 06:05:19 pm »
Need help running miner on Ubuntu 13.10.

5850 1GB wont run. I get the following error -
ERROR: -61, CL_INVALID_BUFFER_SIZE, if size is 0.Implementations may return CL_INVALID_BUFFER_SIZE if size is greater than the CL_DEVICE_MAX_MEM_ALLOC_SIZE value specified in the table of allowed values for param_name for clGetDeviceInfo for all devices in context.
ptsminer: OpenCLObjects.cpp:373: OpenCLBuffer* OpenCLContext::createBuffer(size_t, cl_mem_flags, void*): Assertion `_MY_ERR_X == 0' failed.
Aborted (core dumped)

Any advice? What should I do ?

try running with "-a gpuv9" and different values for -m (-m128 is sure to work, -m256 probably works, -m512 if it works will be the best)

Tried all gpuv options but none works with 5850. With other 1GB card - 560ti -  is works with gpuv9.