File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_codegen_llvm/src/llvm Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -650,7 +650,7 @@ pub mod Enzyme_AD {
650650 static mut MaxTypeOffset : c_void ;
651651 static mut EnzymeMaxTypeDepth : c_void ;
652652
653- static mut EnzymeRuntimeActivityCheck : c_void ;
653+ // static mut EnzymeRuntimeActivityCheck: c_void;
654654 static mut EnzymePrintPerf : c_void ;
655655 static mut EnzymePrintActivity : c_void ;
656656 static mut EnzymePrintType : c_void ;
@@ -660,9 +660,9 @@ pub mod Enzyme_AD {
660660 static mut EnzymeInline : c_void ;
661661 }
662662 pub fn set_runtime_activity_check ( check : bool ) {
663- unsafe {
664- EnzymeSetCLBool ( std:: ptr:: addr_of_mut!( EnzymeRuntimeActivityCheck ) , check as u8 ) ;
665- }
663+ // unsafe {
664+ // EnzymeSetCLBool(std::ptr::addr_of_mut!(EnzymeRuntimeActivityCheck), check as u8);
665+ // }
666666 }
667667 pub fn set_max_int_offset ( offset : u64 ) {
668668 let offset = offset. try_into ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments