File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -600,8 +600,8 @@ fn enable_autodiff_settings(ad: &[config::AutoDiff]) {
600600 llvm:: set_print_type ( true ) ;
601601 }
602602 config:: AutoDiff :: PrintTAFn ( fun) => {
603- llvm:: set_print_type ( true ) ; // Enable general type printing
604- llvm:: set_print_type_fun ( & fun) ; // Set specific function to analyze
603+ llvm:: set_print_type ( true ) ; // Enable general type printing
604+ llvm:: set_print_type_fun ( & fun) ; // Set specific function to analyze
605605 }
606606 config:: AutoDiff :: Inline => {
607607 llvm:: set_inline ( true ) ;
Original file line number Diff line number Diff line change @@ -57,9 +57,10 @@ pub(crate) use self::Enzyme_AD::*;
5757
5858#[ cfg( llvm_enzyme) ]
5959pub ( crate ) mod Enzyme_AD {
60- use libc:: c_void;
6160 use std:: ffi:: { CString , c_char} ;
6261
62+ use libc:: c_void;
63+
6364 unsafe extern "C" {
6465 pub ( crate ) fn EnzymeSetCLBool ( arg1 : * mut :: std:: os:: raw:: c_void , arg2 : u8 ) ;
6566 pub ( crate ) fn EnzymeSetCLString ( arg1 : * mut :: std:: os:: raw:: c_void , arg2 : * const c_char ) ;
You can’t perform that action at this time.
0 commit comments