Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling remote execution on Windows (desktop,laptop,mobile) #12

Closed
gfursin opened this issue Sep 12, 2016 · 1 comment
Closed

Enabling remote execution on Windows (desktop,laptop,mobile) #12

gfursin opened this issue Sep 12, 2016 · 1 comment

Comments

@gfursin
Copy link
Member

gfursin commented Sep 12, 2016

We currently have support to compile code for Android devices and run them there via

$ ck pull repo:ctuning-programs
$ ck compile program:cbench-automotive-susan --target_os=android19-arm --speed
$ ck run program:cbench-automotive-susan --target_os=android19-arm

It requires Android NDK and SDK installed, as well as device connected via ADB to a host with CK.
CK then takes meta information of ''os:android19-arm'' to understand how to copy data sets, binaries and other files to the device, run them, collect stats and other files and send them back to the host.

We would like to do something similar for Windows-based devices (mobile phone or laptop/deskop) via simple CK node (possibly written in C) that just opens telnet, takes JSON input in CK format, collect files, run binary and send files back - for now that's all. In fact such approach may help us unify running workloads on any remote device (even very small ones if there is no python or java available)...

So the "CK node" should be very simple and portable ...

This ticket is related to the new 'device' module from the 'ck-autotuning' repo:

Further discussion is required.

@gfursin gfursin changed the title Enabling remove execution on Windows (desktop,laptop,mobile) Enabling remote execution on Windows (desktop,laptop,mobile) Sep 20, 2016
@gfursin
Copy link
Member Author

gfursin commented Nov 1, 2016

First prototype is done and integrated with 'machine' module in 'ck-env' repository. We created a very basic Windows tool to some extent similar to ADB and integrated with CK program workflow: https://github.com/ctuning/ck-crowdnode . I close this ticket for now. If we will need to do extra extensions, we will open new ones.

@gfursin gfursin closed this as completed Nov 1, 2016
gfursin added a commit that referenced this issue May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant