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

Building in OpenCL configuration on IBM POWER (ppc64el) #3478

Open
tucnak opened this issue May 13, 2024 · 1 comment
Open

Building in OpenCL configuration on IBM POWER (ppc64el) #3478

tucnak opened this issue May 13, 2024 · 1 comment

Comments

@tucnak
Copy link

tucnak commented May 13, 2024

I have finally managed to put AMD Instinct card to work with the latest ROCm on my IBM POWER9 server.

I have also been trying to build xmrig with opencl support, however it seems that even the "portable" code isn't exactly portable? x86intrin all the way, I had replaced with altivec occasionally, but CN/soft_aes code is just completely impenetrable. To be honest, I don't even see a reason why any of this needs to be built given OpenCL target, however maybe I would have better luck with CUDA code?

AMD HIP is actually pretty compatible with CUDA, there's hipify tool to convert pre-existing code to HIP and run that on AMD GPU. Unfortunately, I imagine that CUDA code would similarly depend on cryptonight/soft_aes stuff a.k.a. CPU vectorisations, so I'm back to square 1 in that regard. Really hope to somehow get this working, as it would be really cool. Related #2227

@SChernykh
Copy link
Contributor

XMRig supports x64 and ARMv8 code only. AES is a part of RandomX, and XMRig uses CPU code to verify hashes found by GPU.

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

2 participants