cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
687 stars 304 forks source link

Feature Request: Port to ARM #143

Open jsmith-uk opened 10 years ago

jsmith-uk commented 10 years ago

scrypt.cpp wouldn't compile on ARM platform, because it's been optimised for IA32 architecture.

include

ARM intrinsics are different:

include

Intel has a nice guide on porting ARM code to IA32, but I am struggling to find any good reference on porting in opposite direction.

I am far from programming these days. What would it take to port scrypt.cpp to ARM?

noxo commented 9 years ago

I've highly experimental ARM NEON port on my fork. It's successfully running on Jetson TK1 ARM device, which also has 192 CUDA cores. Feel free to try it :)

0xicl33n commented 8 years ago

@noxo could you please add x11 to your build? GPU mining on scrypt is pointless, the only way to make anything remotely profitable with the jetson is x11. I have two jetsons and have been using your build for a while now. It works but i would much rather have x11..

I would fork your code and do it but i wouldnt know where to start...

I can confirm it works on the jetson though:


[2016-02-03 18:19:04] GPU #0: GK20A, 24.08 khash/s
[2016-02-03 18:20:04] GPU #0: GK20A, 24.16 khash/s
[2016-02-03 18:20:05] Stratum detected new block
[2016-02-03 18:20:05] GPU #0: GK20A, 24.18 khash/s
[2016-02-03 18:21:05] Stratum detected new block
[2016-02-03 18:21:05] GPU #0: GK20A, 24.17 khash/s
[2016-02-03 18:21:05] Stratum detected new block
[2016-02-03 18:21:05] GPU #0: GK20A, 24.05 khash/s
[2016-02-03 18:21:36] Stratum detected new block
[2016-02-03 18:21:36] GPU #0: GK20A, 24.17 khash/s
[2016-02-03 18:22:30] Stratum detected new block
[2016-02-03 18:22:30] GPU #0: GK20A, 24.18 khash/s
[2016-02-03 18:23:02] GPU #0: GK20A, 24.16 khash/s
[2016-02-03 18:23:02] accepted: 5/5 (100.00%), 24.16 khash/s (yay!!!)
[2016-02-03 18:24:02] GPU #0: GK20A, 24.18 khash/s
[2016-02-03 18:24:40] Stratum detected new block
[2016-02-03 18:24:40] GPU #0: GK20A, 24.18 khash/s
[2016-02-03 18:24:42] Stratum detected new block
[2016-02-03 18:24:42] GPU #0: GK20A, 24.12 khash/s
[2016-02-03 18:25:42] GPU #0: GK20A, 24.17 khash/s
[2016-02-03 18:26:00] Stratum detected new block
[2016-02-03 18:26:00] GPU #0: GK20A, 24.16 khash/s

[root@turbine[/b/CudaMiner:master*]$uname -a
Linux turbine 3.10.40-gdacac96 #1 SMP PREEMPT Thu Jun 25 15:25:11 PDT 2015 armv7l armv7l armv7l GNU/Linux
[root@turbine[/b/CudaMiner:master*]$cat /etc/issue
Ubuntu 14.04.3 LTS \n \l