Add obvious log message indicating CUDA feature state

This commit is contained in:
Michael Vines 2019-06-17 07:29:12 -07:00
parent 97a136ea20
commit 5bf87de136
1 changed files with 2 additions and 1 deletions

View File

@ -82,11 +82,12 @@ impl Validator {
entrypoint_info_option: Option<&ContactInfo>, entrypoint_info_option: Option<&ContactInfo>,
config: &ValidatorConfig, config: &ValidatorConfig,
) -> Self { ) -> Self {
info!("creating bank..."); warn!("CUDA is {}abled", if cfg!(cuda) { "en" } else { "dis" });
let id = keypair.pubkey(); let id = keypair.pubkey();
assert_eq!(id, node.info.id); assert_eq!(id, node.info.id);
info!("creating bank...");
let ( let (
bank_forks, bank_forks,
bank_forks_info, bank_forks_info,