File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 22Adapt  = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e" 
33BFloat16s  = " ab4f0b2a-ad5b-11e8-123f-65d77653426b" 
44BenchmarkTools  = " 6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" 
5+ Dates  = " ade2ca70-3891-5945-98fb-dc099432e06a" 
56GPUArrays  = " 0c68f7d7-f131-5f86-a1c3-88cf8149b2d7" 
67GPUCompiler  = " 61eb1bfa-7361-4325-ad38-22787b887f55" 
78InteractiveUtils  = " b77e0a4c-d291-57a0-90e8-8db25a27a240" 
Original file line number Diff line number Diff line change 11using  . MTL
2+ using  Dates
23
34if  shader_validation
45    @warn  " Skipping capturing tests; capturing is not supported with Metal Shader Validation enabled" 
@@ -73,6 +74,13 @@ startCapture(manager, desc)
7374Metal. @sync  @metal  threads= 4  tester (bufferA)
7475stopCapture (manager)
7576synchronize ()
77+ if  manager. isCapturing
78+     start =  Dates. now ()
79+     while  manager. isCapturing
80+     end 
81+     endtime =  Dates. now ()
82+     @info  endtime -  start
83+ end 
7684@test  manager. isCapturing ==  false 
7785@test  isdir (path)
7886release (new_scope)
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments