Skip to content

Commit

Permalink
ocl: fixed tuning script environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Oct 13, 2023
1 parent 1cbc5f3 commit 671a081
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/acc/opencl/smm/tune_multiply.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ def objective(self):

def environment(self, config):
return [
"OPENCL_LIBSMM_SMM_{}={}".format(key, config[key]) for key in config.keys()
"OPENCL_LIBSMM_SMM_{}={}".format(key, config[key])
for key in config.keys()
if 2 == len(key)
]

def run(self, desired_result, input, limit):
Expand Down

0 comments on commit 671a081

Please sign in to comment.