Author

Topic: Gateless Gate Sharp 1.3.8: 30Mh/s (Ethash) on RX 480! - page 196. (Read 214431 times)

newbie
Activity: 13
Merit: 0
Ubuntu 15.04 64 bit.
Driver fglrx 15.12.
Gigabyte R9 390 G1.

160 S/s.
sr. member
Activity: 728
Merit: 304
Miner Developer
You should probably update bottom of readme...

"Author

Marc Bevand -- http://zorinaq.com"

I probably won't be using, most my cards back to Eth for now, and CM faster, and has Remote Monitor. I like open source projects though, I am a developer also, but can't contribute due to issues with my hands. I would like to tinker with OpenCL if I could. Good luck with project!

Thanks! After I rest a little, I will optimize the miner further. My ultimate goal would be to create a GUI-based, feature-rich, multi-algorithm miner.
sr. member
Activity: 449
Merit: 251
You should probably update bottom of readme...

"Author

Marc Bevand -- http://zorinaq.com"

I probably won't be using, most my cards back to Eth for now, and CM faster, and has Remote Monitor. I like open source projects though, I am a developer also, but can't contribute due to issues with my hands. I would like to tinker with OpenCL if I could. Good luck with project!
newbie
Activity: 13
Merit: 0
Windows 10 64 Bit.
Driver 16.6.
Gigabyte R9 390 G1

160 S/s
sr. member
Activity: 652
Merit: 266
Where's krnlx to get his hands on nvidia port Smiley
If you do 120 with amd optimized code sure 1070 would get at least 40% speed bump if optimized correctly, which means ~200S/s for 1070 and even more.
sr. member
Activity: 728
Merit: 304
Miner Developer
sr. member
Activity: 652
Merit: 266
legendary
Activity: 1050
Merit: 1293
Huh?
sr. member
Activity: 728
Merit: 304
Miner Developer
sr. member
Activity: 728
Merit: 304
Miner Developer
@zawawa - I tested on my 1070 and the following bat file line nets a total of 120 sol/1070  Cry

gatelessgate.exe --threads 1 --use 1,2 -c stratum+tcp://us-east1.zcash.miningpoolhub.com:20570 -u xxx -p xxx
pause

You could try "--instances 2".
sr. member
Activity: 728
Merit: 304
Miner Developer
I see, I see. Those are easy to fix, too. Let me get to it right now.
legendary
Activity: 1504
Merit: 1002
@zawawa - I tested on my 1070 and the following bat file line nets a total of 120 sol/1070  Cry

gatelessgate.exe --threads 1 --use 1,2 -c stratum+tcp://us-east1.zcash.miningpoolhub.com:20570 -u xxx -p xxx
pause
sr. member
Activity: 728
Merit: 304
Miner Developer
Good work zawawa.
Even the performance is not as EQM or other miner on nvidia its around 100/sols faster than the last SA build.
I assume its mainly optimized for AMD?

I did a lot of algorithmic and AMD-specific optimizations, so that actually makes sense. I know for a fact that there are a ton of NVIDIA specific stuff that can be done with this miner, so I don't think it's that hard to catch up with other miners.
newbie
Activity: 39
Merit: 0
Done. Please let me know if the fix works.

Sure. Another one issue:

Code:
main.c: In function ‘solve_equihash’:
main.c:1024:28: warning: passing argument 3 of ‘examine_ht’ from incompatible pointer type
   examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
                            ^
main.c:530:6: note: expected ‘cl_mem’ but argument is of type ‘struct _cl_mem **’
 void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)
      ^
main.c:1024:3: error: too many arguments to function ‘examine_ht’
   examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
   ^
main.c:530:6: note: declared here
 void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)

The same error within another function inside:
Code:
error: too many arguments to function ‘examine_ht’
legendary
Activity: 1050
Merit: 1293
Huh?
getting a bit more errors over here :p

Code:
main.c: In function ‘load_file’:
main.c:286:41: error: ‘O_BINARY’ undeclared (first use in this function)
  if (-1 == (fd = open(fname, O_RDONLY | O_BINARY))) {
                                         ^
main.c:286:41: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function ‘dump’:
main.c:325:30: error: ‘O_BINARY’ undeclared (first use in this function)
  if (-1 == (fd = open(fname, O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0666)))
                              ^
main.c: In function ‘solve_equihash’:
main.c:1024:3: warning: passing argument 3 of ‘examine_ht’ from incompatible pointer type [enabled by default]
   examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
   ^
main.c:530:6: note: expected ‘cl_mem’ but argument is of type ‘struct _cl_mem **’
 void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)
      ^
main.c:1024:3: error: too many arguments to function ‘examine_ht’
   examine_ht(round, queue, buf_ht, rowCounters[round % 2]);
   ^
main.c:530:6: note: declared here
 void examine_ht(unsigned round, cl_command_queue queue, cl_mem buf_ht)
      ^
main.c:957:57: warning: unused parameter ‘ctx’ [-Wunused-parameter]
 uint32_t solve_equihash(cl_device_id dev_id, cl_context ctx, cl_command_queue queue,
                                                         ^
main.c: In function ‘mining_mode’:
main.c:1407:18: warning: unused variable ‘status’ [-Wunused-variable]
  cl_int          status;
                  ^
main.c:1392:50: warning: unused parameter ‘program’ [-Wunused-parameter]
 void mining_mode(cl_device_id dev_id, cl_program program, cl_context ctx, cl_command_queue queue,
                                                  ^
make: *** [main.o] Error 1
sr. member
Activity: 728
Merit: 304
Miner Developer
That should be trivial to fix. Hold on.

Ok. Please, let us know once git will be updated. I'll re-clone it then.


Done. Please let me know if the fix works.
newbie
Activity: 39
Merit: 0
That should be trivial to fix. Hold on.

Ok. Please, let us know once git will be updated. I'll re-clone it then.
sr. member
Activity: 728
Merit: 304
Miner Developer
Gateless Gate is a cross-platform OpenCL Zcash miner.

Hi,

I couldn't compile it in linux:

Code:
main.c:1392:6: note: expected ‘struct _cl_mem **’ but argument is of type ‘uint8_t *’
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
main.c:1479:3: error: too many arguments to function ‘mining_mode’
   mining_mode(*dev_id, program, ctx, queue, k_init_ht, k_rounds, k_sols, buf_ht,
   ^
main.c:1392:6: note: declared here
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
: recipe for target 'main.o' failed

Do you have an idea, why compiler failed with "error: too many arguments to function ‘mining_mode’"?
Thank you.




That should be trivial to fix. Hold on.
newbie
Activity: 40
Merit: 0
Do you have plan to increase the RX 480 speed to over 200?

Oh, absolutely. I would do anything to surpass Sir. Claymore.

that is great.

Any idea for the old cards like 7970 speed?
newbie
Activity: 39
Merit: 0
Gateless Gate is a cross-platform OpenCL Zcash miner.

Hi,

I couldn't compile it in linux:

Code:
main.c:1392:6: note: expected ‘struct _cl_mem **’ but argument is of type ‘uint8_t *’
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
main.c:1479:3: error: too many arguments to function ‘mining_mode’
   mining_mode(*dev_id, program, ctx, queue, k_init_ht, k_rounds, k_sols, buf_ht,
   ^
main.c:1392:6: note: declared here
 void mining_mode(cl_device_id *dev_id, cl_context ctx, cl_command_queue queue,
      ^
: recipe for target 'main.o' failed

Do you have an idea, why compiler failed with "error: too many arguments to function ‘mining_mode’"?
Thank you.


Jump to: