@@ -401,18 +401,15 @@ def unix_custom_single_compiler(obj, src, ext, cc_args, extra_postargs,
401401 # with dict type is dangerous.
402402 src = os .path .abspath (src )
403403 cflags = copy .deepcopy (extra_postargs )
404- print ("0------------ cflags=" , cflags )
405404 try :
406405 original_compiler = self .compiler .compiler_so
407- print ("original_compiler=" , original_compiler )
408406 # nvcc or hipcc compile CUDA source
409407 if is_cuda_file (src ):
410408 if core .is_compiled_with_rocm ():
411409 assert ROCM_HOME is not None , "Not found ROCM runtime, \
412410 please use `export ROCM_PATH= XXX` to specify it."
413411
414412 hipcc_cmd = os .path .join (ROCM_HOME , 'bin' , 'hipcc' )
415- print ("hipcc_cmd=" , hipcc_cmd )
416413 self .compiler .set_executable ('compiler_so' , hipcc_cmd )
417414 # {'nvcc': {}, 'cxx: {}}
418415 if isinstance (cflags , dict ):
@@ -439,7 +436,6 @@ def unix_custom_single_compiler(obj, src, ext, cc_args, extra_postargs,
439436 cflags .append (
440437 '-DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_HIP' )
441438
442- print ("2------------ cflags=" , cflags )
443439 # NOTE(Aurelius84): Since Paddle 2.0, we require gcc version > 5.x,
444440 # so we add this flag to ensure the symbol names from user compiled
445441 # shared library have same ABI suffix with core_(no)avx.so.
0 commit comments