Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Port to ARM #143

Open
jsmith-uk opened this issue Aug 11, 2014 · 2 comments
Open

Feature Request: Port to ARM #143

jsmith-uk opened this issue Aug 11, 2014 · 2 comments

Comments

@jsmith-uk
Copy link

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?

@noxo
Copy link

noxo commented Jul 20, 2015

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
Copy link

0xicl33n commented Feb 3, 2016

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants