Remove CUDA feature (#6094)

This commit is contained in:
Michael Vines
2019-09-26 13:36:51 -07:00
committed by GitHub
parent a964570b1a
commit b4da83a3ab
33 changed files with 375 additions and 512 deletions

View File

@ -390,7 +390,17 @@ pub fn main() {
.takes_value(false)
.help("Skip ledger verification at node bootup"),
)
.get_matches();
.arg(
clap::Arg::with_name("cuda")
.long("cuda")
.takes_value(false)
.help("Use CUDA"),
)
.get_matches();
if matches.is_present("cuda") {
solana_core::perf_libs::init_cuda();
}
let mut validator_config = ValidatorConfig::default();
let keypair = if let Some(identity) = matches.value_of("identity") {