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

rebuild for older cards. #242

Open
Novicracker opened this issue May 1, 2018 · 15 comments
Open

rebuild for older cards. #242

Novicracker opened this issue May 1, 2018 · 15 comments

Comments

@Novicracker
Copy link

How do I rebuild for older cards. I'm using 2 Geforece GT 610's and 2 Geforce GTX 760's on 2 different machines. And I would ;like to get them running. Just for the fun of the learning and satisfaction that they are doing something rather than sitting on a shelf collecting dust. lol. I'm no programmer. So How do I change the version of cuda that I can get the program to recognize the cards. I know they wont hash hard at all but it will be fun to learn this.

@KlausT
Copy link
Owner

KlausT commented May 1, 2018

GTX760 should work as it is.
For the GT610 cards we have to build ccminer with CUDA 8 and add sm_21 support.
Are you using Windows or are you using Linux?

@Novicracker
Copy link
Author

Novicracker commented May 2, 2018 via email

@Novicracker
Copy link
Author

Novicracker commented May 3, 2018 via email

@KlausT
Copy link
Owner

KlausT commented May 4, 2018

Try this version:
ccminer-821-cuda80-with-sm21.zip
Some algos will probably not work with your GT610.

The sm number is also called "compute capability" and is telling us what kind of hardware your card has.
sm_30 are Kepler cards, sm_50/52 are Maxwell cards, sm_61 are Pascal cards, and so on.

@Novicracker
Copy link
Author

Novicracker commented May 4, 2018 via email

@Novicracker
Copy link
Author

Novicracker commented May 5, 2018 via email

@Novicracker
Copy link
Author

Novicracker commented May 5, 2018 via email

@Novicracker
Copy link
Author

Novicracker commented May 5, 2018

ok on the GTX 760 I am getting ERROR: no algo or invalid algo. I have the -a x16r set in the .bat file. So I'm guessing its not the -a setting but the actual algorithms that are built to run the card. So how would I compile the correct memory specific algos? if you can tell me what I need installed in VS Studio and how to set it up for this I will share my algo's so you can add them to your project.

@KlausT
Copy link
Owner

KlausT commented May 5, 2018

My ccminer version doesn't support x16r, that's only in tpruvot's version.
I don't think you can add it yourself, it's not that easy to make the changes.
But you could use the skein algo, that would run on your GT610 I think.
If you only use the GTX760 you could use neoscrypt or lyra2v2.

@KlausT
Copy link
Owner

KlausT commented May 5, 2018

If you insist:
Install Visual Studio 2015 Community Edition:
https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads
Install CUDA 8.0:
https://developer.nvidia.com/cuda-80-ga2-download-archive
Now you can either fork my repository, or just download the source code.

@Novicracker
Copy link
Author

Novicracker commented May 5, 2018 via email

@Novicracker
Copy link
Author

I'm going to try and fork your repository and add the x16r algorithm. And see if I can get Cuda 7.5 to work with the GT 610 2g. Now when I add the x16r files into the build is there anything special I have to do to get the algo to be utilized by the main exe? I'm not a programmer so this is all new to me.

@arman4343
Copy link

Thank you @KlausT
How can I change the SM version from inside of VS?
where you define SM in vs project? I can't find it.

@KlausT
Copy link
Owner

KlausT commented Mar 29, 2019

Project -> properties -> CUDA C/C++ -> Code Generation
If you have more than one version of the CUDA Toolkit installed, then you can select one in Project -> Build Customizations

@arman4343
Copy link

Thank you for your help @KlausT .
I find it.

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