File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -292,11 +292,11 @@ int32_t main(int32_t argc, char** argv) {
292292  ET_LOG (Info, " Registering CUDA backend" 
293293  static  auto  cuda_backend_impl = ::executorch::backends::cuda::CudaBackend ();
294294  static  auto  cuda_backend = ::executorch::runtime::Backend{" CudaBackend" 
295-   auto  error  = ::executorch::runtime::register_backend (cuda_backend);
296-   if  (error  == ::executorch::runtime::Error::Ok) {
295+   auto  register_error  = ::executorch::runtime::register_backend (cuda_backend);
296+   if  (register_error  == ::executorch::runtime::Error::Ok) {
297297    ET_LOG (Info, " Successfully registered CudaBackend" 
298298  } else  {
299-     ET_LOG (Error, " Failed to register CudaBackend: error code %d" int )error );
299+     ET_LOG (Error, " Failed to register CudaBackend: error code %d" int )register_error );
300300  }
301301
302302  gflags::ParseCommandLineFlags (&argc, &argv, true );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments