Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-sjtu committed Sep 3, 2024
1 parent e6c4873 commit f802d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/starkpil/chelpers_steps_gpu.cu
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ cudaStream_t streams[nStreams*MAX_GPUS];

void CHelpersStepsGPU::prepareGPU(StarkInfo &starkInfo, StepsParams &params, 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;
Expand Down

0 comments on commit f802d69

Please sign in to comment.