X-Git-Url: https://git.sesse.net/?p=freerainbowtables;a=blobdiff_plain;f=BOINC%20software%2FBOINC%20client%20apps%2Fdistrrtgen_cuda%2Frcuda.h;h=c641eda533fb735c5cca51378e1d97c0afc87c56;hp=370b0646653f895cd6fec06cc796cd66acd0ee04;hb=683eeaa26cde6b9faa7600497da5896319583692;hpb=948b06c2953b5caa5d6af5eb3dacb2200e357844 diff --git a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.h b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.h index 370b064..c641eda 100644 --- a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.h +++ b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.h @@ -24,8 +24,9 @@ struct RCudaTask { unsigned int rainbowChainLen; }; -extern "C" int CalcChainsOnCUDA(const RCudaTask* task, uint64 *resultBuff); +extern "C" int SetCudaDevice(int device); extern "C" int GetChainsBufferSize(int minSize); +extern "C" int CalcChainsOnCUDA(const RCudaTask* task, uint64 *resultBuff); }