From f802d69315fe08d40cc7e33c8a1a8622fdf36e5a Mon Sep 17 00:00:00 2001 From: xzavier Date: Tue, 3 Sep 2024 16:47:57 +0800 Subject: [PATCH] update --- src/starkpil/chelpers_steps_gpu.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/starkpil/chelpers_steps_gpu.cu b/src/starkpil/chelpers_steps_gpu.cu index afe84c426..67c00ea26 100644 --- a/src/starkpil/chelpers_steps_gpu.cu +++ b/src/starkpil/chelpers_steps_gpu.cu @@ -20,12 +20,12 @@ cudaStream_t streams[nStreams*MAX_GPUS]; void CHelpersStepsGPU::prepareGPU(StarkInfo &starkInfo, StepsParams ¶ms, ParserArgs &parserArgs, ParserParams &parserParams) { - nrowsPack = 8; + nrowsPack = 1; prepare(starkInfo, params, parserArgs, parserParams); CHECKCUDAERR(cudaGetDeviceCount(&nDevices)); printf("nDevices: %d\n", nDevices); - nCudaThreads = 1<<14; + nCudaThreads = 1<<17; domainExtended = parserParams.stage > 3 ? true : false; domainSize = domainExtended ? 1 << starkInfo.starkStruct.nBitsExt : 1 << starkInfo.starkStruct.nBits; subDomainSize = nrowsPack * nCudaThreads;