CudaMiner icon indicating copy to clipboard operation
CudaMiner copied to clipboard

Feature Request: Port to ARM

Open jsmith-uk opened this issue 11 years ago • 2 comments

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

include <emmintrin.h>

ARM intrinsics are different:

include <arm_neon.h>

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?

jsmith-uk avatar Aug 11 '14 17:08 jsmith-uk

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 :)

noxo avatar Jul 20 '15 19:07 noxo

@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

0xicl33n avatar Feb 03 '16 18:02 0xicl33n