Skip to content

Commit

Permalink
Updating script.
Browse files Browse the repository at this point in the history
  • Loading branch information
massimim committed Sep 10, 2023
1 parent 5133b11 commit 3f28bfd
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions benchmarks/lbm/src/RunCavityTwoPop.cu
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ auto run(Config& config,
for (auto const& id : config.devices) {
code << id;
}
code << "_SS" << config.stencilSemanticCli.getStringOption()<< "_";
code << "_SS" << config.stencilSemanticCli.getStringOption() << "_";
code << "_SF" << config.spaceCurveCli.getStringOption() << "_";
code << "_TM" << config.transferModeCli.getStringOption() << "_";
code << "__";
Expand Down Expand Up @@ -156,11 +156,11 @@ auto runFilterLattice(Config& config,
using Lattice = D3Q19<Precision>;
return runFilterCollision<Lattice, Grid, Storage, double>(config, report, testCode);
}
// if (config.lattice == "d3q27" || config.lattice == "D3Q27") {
// testCode << "_D3Q27";
// using Lattice = D3Q27<Precision>;
// return runFilterCollision<Lattice, Grid, Storage, double>(config, report, testCode);
// }
// if (config.lattice == "d3q27" || config.lattice == "D3Q27") {
// testCode << "_D3Q27";
// using Lattice = D3Q27<Precision>;
// return runFilterCollision<Lattice, Grid, Storage, double>(config, report, testCode);
// }
NEON_DEV_UNDER_CONSTRUCTION("Lattice type not supported. Available options: D3Q19 and D3Q27");
}

Expand All @@ -175,7 +175,8 @@ auto runFilterComputeType(Config& config,
return runFilterLattice<Grid, Storage, double>(config, report, testCode);
}
if (config.computeTypeStr == "float") {
return run<Grid, Storage, float>(config, report);
testCode << "_SF";
return runFilterLattice<Grid, Storage, float>(config, report, testCode);
}
NEON_DEV_UNDER_CONSTRUCTION("");
}
Expand All @@ -190,10 +191,10 @@ auto runFilterStoreType(Config& config,
testCode << "_CD";
return runFilterComputeType<Grid, double>(config, report, testCode);
}
// if (config.storeTypeStr == "float") {
// testCode << "_CS_";
// return runFilterComputeType<Grid, float>(config, report,testCode);
// }
if (config.storeTypeStr == "float") {
testCode << "_CF";
return runFilterComputeType<Grid, float>(config, report, testCode);
}
NEON_DEV_UNDER_CONSTRUCTION("");
}
} // namespace details
Expand Down

0 comments on commit 3f28bfd

Please sign in to comment.