m4rs-mt / ILGPU

ILGPU JIT Compiler for high-performance .Net GPU programs

Home Page:http://www.ilgpu.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration with current app

ilkerccom opened this issue · comments

commented

Hello,

I have an application that is currently running with CPU. How can I make it GPU supported? I want it to do the calculations on the GPU. Or there may be a code sample that will generate a random private key and convert it into a BTC address.

I have read the guide and documentation but I do not understand it.

Project example; https://github.com/ilkerccom/bitcoinpuzzlescanner

Thanks.

commented

welcome @ilkerccom. We have code samples, but nothing specific for your needs.

Looking at the example project you linked to, it will unfortunately need to be re-written as there are a number of limitations with GPU programming. For example, BigInteger is not supported on the GPU because it is not possible to perform memory allocations inside GPU kernel. Another example of a limitation is the inability to perform string handling, such as string.Format or BigInteger.Parse.

You might want to start with reading the ILGPU documentation, which has some beginner tutorials - https://ilgpu.net/docs

We also have a Discord server that you might like to join.

commented

Thanks @MoFtZ, I will review the documentation again.