Skip to content

Commit fba412d

Browse files
committed
Update to NPROC>=KPAR for DSP
1 parent ae88f45 commit fba412d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/source_main/driver_run.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void Driver::init_hardware()
128128
#endif
129129

130130
#ifdef __DSP
131-
if (GlobalV::NPROC != PARAM.inp.KPAR)
131+
if (GlobalV::NPROC >= PARAM.inp.KPAR)
132132
{
133133
std::cout << "Error: Number of processors must be equal to KPAR for DSP hardware initialization." << std::endl;
134134
std::exit(1);

0 commit comments

Comments
 (0)