fix rust examples calling load_backend() with removed param

This commit is contained in:
Yuval Shekel
2024-07-30 15:36:58 +03:00
committed by Koren-Brand
parent 46797294a6
commit 72bfcdccaa
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ fn try_load_and_set_backend_device(args: &Args) {
.is_empty()
{
println!("Trying to load backend from {}", &args.backend_install_dir);
icicle_runtime::runtime::load_backend(&args.backend_install_dir, true /*recursive */).unwrap();
icicle_runtime::runtime::load_backend(&args.backend_install_dir).unwrap();
}
println!("Setting device {}", args.device_type);
icicle_runtime::set_device(&icicle_runtime::Device::new(&args.device_type, 0)).unwrap();

View File

@@ -32,7 +32,7 @@ fn try_load_and_set_backend_device(args: &Args) {
.is_empty()
{
println!("Trying to load backend from {}", &args.backend_install_dir);
icicle_runtime::runtime::load_backend(&args.backend_install_dir, true /*recursive */).unwrap();
icicle_runtime::runtime::load_backend(&args.backend_install_dir).unwrap();
}
println!("Setting device {}", args.device_type);
icicle_runtime::set_device(&icicle_runtime::Device::new(&args.device_type, 0)).unwrap();