parameters: ()
return_statement: return rocm_lib_dir
docstring: Use heuristic method to find rocm dynamic lib path
docstring_summary: Use heuristic method to find rocm dynamic lib path
docstring_tokens: Use heuristic method to find rocm dynamic lib path
function: def find_rocm_libraries():
      """
      Use heuristic method to find rocm dynamic lib path
      """
      rocm_home = find_rocm_home()
      if rocm_home is None:
          raise ValueError(
              "Not found ROCM runtime, please use `export ROCM_PATH=XXX` to specific it."
          )
      rocm_lib_dir = [os.path.join(rocm_home, 'lib')]
  
      return rocm_lib_dir
function_tokens: def find_rocm_libraries ( ) : rocm_home = find_rocm_home ( ) if rocm_home is None : raise ValueError ( "Not found ROCM runtime, please use `export ROCM_PATH=XXX` to specific it." ) rocm_lib_dir = [ os . path . join ( rocm_home , 'lib' ) ] return rocm_lib_dir