Jump to content

Recommended Posts

Posted

ive looked around but nothing is making it obvious enough for me so im sorry if this is like a big repeat. I'm trying to create a program that will create a .bat file to plot HDDs but i want a tool that will set up the plotting tool if you dont already have it configured. the config setup.bat is run through command line and looks like this:

----
1. List all devices
2. List configured devices
3. Add device config
4. Remove device config
9. Save config
0. Quit

> Select an option: 3

Platform id: 0
Device id: 0
Global work size (8192 recommended): 0
Local work size (0 recommended): 0
Hashes number (8192 recommended): 0
----

where 3 shows platform id and you must put in a number before the next option (device ID) is shown to you. i have noticed that the X recommended is about 4x too high so i want the program to read the cmd and quarter the recommended size. but i have no clue how to do this.. so basically a completed tool should output the following (of course going off the recommended)

----
1. List all devices
2. List configured devices
3. Add device config
4. Remove device config
9. Save config
0. Quit

> Select an option: 3

Platform id: 0
Device id: 0
Global work size (8192 recommended): 2048
Local work size (256 recommended): 64
Hashes number (8192 recommended): 2048
----

 this would be a feature and not part of the main program so if it cant be done its not too big of a deal but id like it to help with noobs to the plotting tools

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...