| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -65,11 +65,14 @@ void ScopeBufferedSSAGraphExecutor::DropLocalExeScopes() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  for (auto p : places_) {
 | 
					 | 
					 | 
					 | 
					  for (auto p : places_) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    platform::DeviceContextPool::Instance().Get(p)->Wait();
 | 
					 | 
					 | 
					 | 
					    platform::DeviceContextPool::Instance().Get(p)->Wait();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }
 | 
					 | 
					 | 
					 | 
					  }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  for (auto &scope : local_scopes_) {
 | 
					 | 
					 | 
					 | 
					  for (auto &scope : local_scopes_) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    auto &local_scope =
 | 
					 | 
					 | 
					 | 
					    auto *local_scope_var = scope->FindLocalVar(details::kLocalExecScopeName);
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        *scope->Var(details::kLocalExecScopeName)->GetMutable<Scope *>();
 | 
					 | 
					 | 
					 | 
					    if (local_scope_var != nullptr) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    scope->DeleteScope(local_scope);
 | 
					 | 
					 | 
					 | 
					      auto &local_scope = *local_scope_var->GetMutable<Scope *>();
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    VLOG(3) << "Drop local execution scope: " << local_scope;
 | 
					 | 
					 | 
					 | 
					      scope->DeleteScope(local_scope);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      VLOG(3) << "Drop local execution scope: " << local_scope;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }
 | 
					 | 
					 | 
					 | 
					  }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |