Post
Topic
Board Mining (Altcoins)
Re: [ANN] cudaMiner - a new litecoin mining application [Windows/Linux]
by
bigjme
on 27/04/2014, 21:52:55 UTC
i am messing with it now and it will most likely be a better solution for you to use then nvml as its 32 and 64 bit

"Initially exposed only to OEMs and game developer tools, NVAPI is now available for download to all developers interested in building Windows applications on NVIDIA GPUs."

it's Windows only. Meh.

Christian

hmm what about implement it into the windows build and use nvidia-smi under linux?
you already have the if definition for if its windows or not Smiley

you would need to use something like this

Code:
#ifdef _WIN64
    return "Windows 32-bit";
    #elif _WIN32
    return "Windows 64-bit";
    #elif __unix || __unix__
    return "Unix";
    #elif __APPLE__ || __MACH__
    return "Mac OSX";
    #elif __linux__
    return "Linux";
    #else
    return "Other";
#endif