v4.1 release update v2. (#2481)
This commit is contained in:
@@ -153,7 +153,7 @@ class gen_device:
|
||||
|
||||
warp_M_tile = 32
|
||||
|
||||
# Determine maxmimum N_tile
|
||||
# Determine maximum N_tile
|
||||
Max_Ntile = 0
|
||||
for layer in self.fuse_gemm_info:
|
||||
n_tile = layer['mnk'][1]
|
||||
|
||||
@@ -76,9 +76,9 @@ class gen_verify:
|
||||
)
|
||||
|
||||
|
||||
def get_params(self, declartion = True):
|
||||
def get_params(self, declaration = True):
|
||||
code = ""
|
||||
if declartion:
|
||||
if declaration:
|
||||
for param in self.params:
|
||||
code += param[0] + " " + param[1] + ";\n"
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ def write_2_headfile(filename, file_dir, string):
|
||||
with open(file_dir + filename, 'w') as f:
|
||||
f.write("/* Auto Generated code - Do not edit.*/\n\n\n#pragma once\n" + string)
|
||||
|
||||
def var_idx(varaiable, index):
|
||||
return varaiable + str(index)
|
||||
def var_idx(variable, index):
|
||||
return variable + str(index)
|
||||
|
||||
|
||||
def list_2_string(input_list, ):
|
||||
|
||||
Reference in New Issue
Block a user