File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2828 * This file is generated by gen_metal_shader_lib.py 
2929 */ 
3030
31- #ifdef ATEN  
31+ #ifdef USE_ATEN  
3232using namespace at::native::mps; 
3333#else 
3434#include <torchao/experimental/kernels/mps/src/OperationUtils.h> 
Original file line number Diff line number Diff line change 1717#include  < fstream> 
1818#include  < sstream> 
1919
20- #ifdef  ATEN 
20+ #ifdef  USE_ATEN 
2121#include  < ATen/native/mps/OperationUtils.h> 
2222using  namespace  at ::native::mps; 
2323inline  void  finalize_block (MPSStream* mpsStream) {}
Original file line number Diff line number Diff line change 1616            name = "torchao_mps_ops" ,
1717            sources = ["register.mm" ],
1818            include_dirs = [os .getenv ("TORCHAO_ROOT" )],
19-             extra_compile_args = ["-DATEN =1" ],
19+             extra_compile_args = ["-DUSE_ATEN =1" ],
2020        ),
2121    ],
2222    cmdclass = {"build_ext" : BuildExtension },
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments