File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,14 @@ macro Const end
111111    copyto!(::Backend, dest::AbstractArray, src::AbstractArray) 
112112
113113Perform a `copyto!` operation that is execution ordered with respect to the backend. 
114+ For most uses `Base.copyto!` provides a fully synchronous interface. 
114115
115116!!! note 
116117    On some backends it may be necessary to first call [`pagelock!`](@ref) on host memory, 
117118    to enable fully asynchronous behaviour w.r.t to the host. 
118119
119120!!! warning 
120-     While this function is always asynchronous w.r.t. to the device, it may be synchronous w.r.t to the host. 
121-     Additionally if the function is asynchronous w.r.t to the host, the user is required to gurantuee, the lifetime 
121+     If the function is asynchronous w.r.t to the host, the user is required to gurantuee, the lifetime 
122122    of the host buffer. Otherwise the user may cause a use-after-free, because the GC was able to prove that the host 
123123    buffer can be freed. 
124124
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments