Skip to content

Commit

Permalink
* V1.55.4
Browse files Browse the repository at this point in the history
  * [sztaylor] fix cpu & gpu set_freq commands
  • Loading branch information
gfursin committed Mar 24, 2021
1 parent fe80218 commit 1c1c939
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ck/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ck/repo/module/platform.cpu/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ck/repo/module/platform.gpu/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1c1c939

Please sign in to comment.