Remove CUDA feature (#6094) (#6126)

automerge
This commit is contained in:
Michael Vines
2019-09-26 14:38:30 -07:00
committed by Grimes
parent 0f3a8314ae
commit 232d2b3899
33 changed files with 376 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") {