From 1c1c939742bb900f0e6ef8c62f3a6844e2bd2c01 Mon Sep 17 00:00:00 2001 From: Grigori Fursin Date: Wed, 24 Mar 2021 20:12:23 +0100 Subject: [PATCH] * V1.55.4 * [sztaylor] fix cpu & gpu set_freq commands --- CHANGES.txt | 3 +++ ck/kernel.py | 2 +- ck/repo/module/platform.cpu/module.py | 2 +- ck/repo/module/platform.gpu/module.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index d60487c9a1..af6164cf21 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +* V1.55.4 + * [sztaylor] fix cpu & gpu set_freq commands + * V1.55.3 * fixed minor API typo * improvements from Arm to 2 CK modules: platform.cpu and platform.gpu: diff --git a/ck/kernel.py b/ck/kernel.py index b28600f52c..9cfa752869 100755 --- a/ck/kernel.py +++ b/ck/kernel.py @@ -27,7 +27,7 @@ # We use 3 digits for the main (released) version and 4th digit for development revision -__version__ = "1.55.3" +__version__ = "1.55.4" # Do not use characters (to detect outdated version)! # Import packages that are global for the whole kernel diff --git a/ck/repo/module/platform.cpu/module.py b/ck/repo/module/platform.cpu/module.py index e498bf2367..9a3cab4a07 100644 --- a/ck/repo/module/platform.cpu/module.py +++ b/ck/repo/module/platform.cpu/module.py @@ -931,7 +931,7 @@ def set_freq(i): x=rs.replace('$#device#$',dv) # Support backwards compatibility if double quote not found in rs and rse - x+=('"' if rs.find('"') == -1 else '')+' '+cmd+' '+rse+('"' if rse.find('"') == -1 else '') + x+=' '+('"' if rs.find('"') == -1 else '')+' '+cmd+' '+rse+('"' if rse.find('"') == -1 else '') rx=os.system(x) if rx!=0: diff --git a/ck/repo/module/platform.gpu/module.py b/ck/repo/module/platform.gpu/module.py index 6dde01bb64..28aa3daac5 100644 --- a/ck/repo/module/platform.gpu/module.py +++ b/ck/repo/module/platform.gpu/module.py @@ -640,7 +640,7 @@ def set_freq(i): x=rs.replace('$#device#$',dv) # Support backwards compatibility if double quote not found in rs and rse - x+=('"' if rs.find('"') == -1 else '')+' '+cmd+' '+rse+('"' if rse.find('"') == -1 else '') + x+=' '+('"' if rs.find('"') == -1 else '')+' '+cmd+' '+rse+('"' if rse.find('"') == -1 else '') rx=os.system(x) if rx!=0: