diff --git a/src/starkpil/chelpers_steps_gpu.cu b/src/starkpil/chelpers_steps_gpu.cu index 886ef6c6b..afe84c426 100644 --- a/src/starkpil/chelpers_steps_gpu.cu +++ b/src/starkpil/chelpers_steps_gpu.cu @@ -20,12 +20,11 @@ cudaStream_t streams[nStreams*MAX_GPUS]; void CHelpersStepsGPU::prepareGPU(StarkInfo &starkInfo, StepsParams ¶ms, ParserArgs &parserArgs, ParserParams &parserParams) { + nrowsPack = 8; prepare(starkInfo, params, parserArgs, parserParams); - CHECKCUDAERR(cudaGetDeviceCount(&nDevices)); printf("nDevices: %d\n", nDevices); - nrowsPack = 8; nCudaThreads = 1<<14; domainExtended = parserParams.stage > 3 ? true : false; domainSize = domainExtended ? 1 << starkInfo.starkStruct.nBitsExt : 1 << starkInfo.starkStruct.nBits;