remod Namespace Reference

remod Namespace Reference#

Composable Kernel: remod Namespace Reference
remod Namespace Reference

Classes

class  submodule_t
 

Functions

def get_module (f, level=0)
 

Variables

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

Function Documentation

◆ get_module()

def remod.get_module (   f,
  level = 0 
)

Variable Documentation

◆ all_files

list remod.all_files = []

◆ clang_format

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

◆ cmd

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

◆ dos2unix

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

◆ format_procs

list remod.format_procs = []

◆ HEADER_COMMON

string 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

string remod.NS = "ck_tile"

◆ OPS

string remod.OPS = "ops"

◆ OPS_COMMON

string remod.OPS_COMMON = "common"

◆ submodule

remod.submodule = submodule_t()