remod Namespace Reference

remod Namespace Reference#

Composable Kernel: remod Namespace Reference
remod Namespace Reference

Classes

class  submodule_t

Functions

 get_module (f, level=0)

Variables

str NS = "ck_tile"
str OPS = "ops"
str OPS_COMMON = "common"
list IGNORED_DIRS = ["utility", "ref"]
str HEADER_COMMON
list all_files = []
 submodule = submodule_t()
list format_procs = []
str dos2unix = f"python -m dos2unix {str(x)} {str(x)}"
str clang_format = f"clang-format -style=file -i {str(x)}"
str cmd = f"{dos2unix} && {clang_format}"

Function Documentation

◆ get_module()

remod.get_module ( f,
level = 0 )

Variable Documentation

◆ all_files

list remod.all_files = []

◆ clang_format

str remod.clang_format = f"clang-format -style=file -i {str(x)}"

◆ cmd

str remod.cmd = f"{dos2unix} && {clang_format}"

◆ dos2unix

str remod.dos2unix = f"python -m dos2unix {str(x)} {str(x)}"

◆ format_procs

list remod.format_procs = []

◆ HEADER_COMMON

str remod.HEADER_COMMON
Initial value:
1= f"""// SPDX-License-Identifier: MIT
2// Copyright (c) 2018-{datetime.now().year}, Advanced Micro Devices, Inc. All rights reserved.\n
3"""

◆ IGNORED_DIRS

list remod.IGNORED_DIRS = ["utility", "ref"]

◆ NS

str remod.NS = "ck_tile"

◆ OPS

str remod.OPS = "ops"

◆ OPS_COMMON

str remod.OPS_COMMON = "common"

◆ submodule

remod.submodule = submodule_t()