Ethminer: Try 2GB GPU solution

Created on 29 Jun 2017  Â·  8Comments  Â·  Source: ethereum-mining/ethminer

I'm trying to build ethminer without GPU DAG file, i.e. calculate it for every search loop.
This may be helpful for 2GB GPU.
Would you please give me some help to do it?

Most helpful comment

I think a few days later, 3GB GPU will need it, then 4G GPU.

All 8 comments

There is no point in doing this. I looked into it a few years ago. It will be dead slow.

It is good.
I want to look into it, now.
Can you share me your tried code about it?

I think a few days later, 3GB GPU will need it, then 4G GPU.

It is basically all there already. Just replace the DAG access code with calls to calculate the node in real time, taken from the DAG generation kernel. To make it faster, just use regular DAG up to 2GB and only make the 2GB+ part dynamic.

Got it.
Thank you, Genoil.

Dear Genoil,
I tried, but it is not working.
Could you please send me your code that replace the DAG access code with calls to calculate the node in real time.
Thank you.

[email protected]

From: Genoil
Date: 2017-06-29 15:24
To: ethereum-mining/ethminer
CC: honlen; Author
Subject: Re: [ethereum-mining/ethminer] Try 2GB GPU solution (#87)
It is basically all there already. Just replace the DAG access code with calls to calculate the node in real time, taken from the DAG generation kernel. To make it faster, just use regular DAG up to 2GB and only make the 2GB+ part dynamic.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm sorry, this is the closest thing I have currently. Dig into CL for a bit and you should be able to tie the strings together. I don't gave time to do it myself.

@honlen there is a _copyToHost parameter in : libethash-cuda\ethash_cuda_miner.cpp
perhaps it could be of help

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaynardMiner picture MaynardMiner  Â·  5Comments

andreikorchagin picture andreikorchagin  Â·  5Comments

blgsyrmhnds picture blgsyrmhnds  Â·  4Comments

nguylb73 picture nguylb73  Â·  3Comments

CarlStyles picture CarlStyles  Â·  5Comments