Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dividiti/ck-request-asplos18-mobi…
Browse files Browse the repository at this point in the history
…lenets-armcl-opencl
  • Loading branch information
psyhtest committed Jan 2, 2019
2 parents d5c2759 + c56b8a2 commit 15d87b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![compatibility](https://github.com/ctuning/ck-guide-images/blob/master/ck-compatible.svg)](https://github.com/ctuning/ck)
[![automation](https://github.com/ctuning/ck-guide-images/blob/master/ck-artifact-automated-and-reusable.svg)](http://cTuning.org/ae)
[![workflow](https://github.com/ctuning/ck-guide-images/blob/master/ck-workflow.svg)](http://cKnowledge.org)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

This repository contains experimental workflow and all related artifacts
Expand Down
1 change: 1 addition & 0 deletions script/mobilenets-armcl-opencl/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def do(i, arg):
tdid=r['device_id']

# Determine platform tags: if one of the known platforms, use its id; otherwise, 'unknown-platform'.
# FIXME: only works when the target platform is the same as the host platform.
platform_tags=platform_config.get(r['features']['platform']['model'], {'id':'unknown-platform'})['id']

# The only supported program.
Expand Down
3 changes: 2 additions & 1 deletion script/mobilenets-tensorflow/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def do(i, arg):
tdid=r['device_id']

# Determine platform tags: if one of the known platforms, use its id; otherwise, 'unknown-platform'.
# FIXME: only works when the target platform is the same as the host platform.
platform_tags=platform_config.get(r['features']['platform']['model'], {'id':'unknown-platform'})['id']

# Select one of `image-classification-tf*`.
Expand Down Expand Up @@ -220,8 +221,8 @@ def do(i, arg):
if len(udepl)==0:
return {'return':1, 'error':'no installed TensorFlow libs'}
cdeps[library_key]['uoa']=udepl[0]

depm=copy.deepcopy(cdeps['weights'])

ii={'action':'resolve',
'module_uoa':'env',
'host_os':hos,
Expand Down

0 comments on commit 15d87b6

Please sign in to comment.