MCPcopy Create free account
hub / github.com/XiaoMi/mace / get_opencl_binary_output_path

Function get_opencl_binary_output_path

tools/common.py:302–313  ·  view source on GitHub ↗
(library_name, target_abi, device)

Source from the content-addressed store, hash-verified

300
301
302def get_opencl_binary_output_path(library_name, target_abi, device):
303 target_soc = device.target_socs
304 device_name = device.device_name
305 return '%s/%s/%s/%s/%s_%s.%s.%s.bin' % \
306 (BUILD_OUTPUT_DIR,
307 library_name,
308 OUTPUT_OPENCL_BINARY_DIR_NAME,
309 target_abi,
310 library_name,
311 OUTPUT_OPENCL_BINARY_FILE_NAME,
312 device_name,
313 target_soc)
314
315
316def get_opencl_parameter_output_path(library_name, target_abi, device):

Callers 2

run_modelMethod · 0.85
run_specify_abiMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected