tilelang.contrib.hipcc ====================== .. py:module:: tilelang.contrib.hipcc .. autoapi-nested-parse:: Utility to invoke hipcc compiler in the system Functions --------- .. autoapisummary:: tilelang.contrib.hipcc.compile_hip tilelang.contrib.hipcc.tilelang_callback_hip_compile Module Contents --------------- .. py:function:: compile_hip(code, target_format='hsaco', arch=None, options=None, path_target=None, verbose=False) Compile HIP code with hipcc. :param code: The HIP code. :type code: str :param target_format: The target format of hipcc compiler. :type target_format: str :param arch: The AMD GPU architecture. :type arch: str :param options: The additional options. :type options: str or list of str :param path_target: Output file. :type path_target: str, optional :returns: **hsaco** -- The bytearray of the hsaco :rtype: bytearray .. py:function:: tilelang_callback_hip_compile(code, target) use hipcc to generate fatbin code for better optimization