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

Libs after modification and recompilation is not pushed to device on run action for android devices #35

Open
DVEfremov opened this issue Jan 24, 2017 · 2 comments
Assignees
Labels

Comments

@DVEfremov
Copy link
Contributor

Steps to reproduce

  • Compile caffe-time opencl for example
    $ck compile program:caffe-time-opencl --target_os=android21-arm-v7a

  • run it on device

  • ck run program:caffe-time-opencl --target_os=android21-arm-v7a --env.CAFFE_COMPUTE_DEVICE_ID=0

  • check libs sizes
    adb ls -l /data/local/tmp/tmp/*.so

  • -rw-r--r-- shell shell 18051260 2017-01-23 17:44 libOpenCL.so
    -rw-rw-rw- shell shell 22383040 2017-01-24 13:57 libcaffe.so
    -rwxrwxrwx shell shell 17804 2017-01-20 10:55 librtlxopenme.so
    -rwxrwxrwx shell shell 1143844 2017-01-23 17:19 libviennacl.so

  • delete caffe package ad some dummy changes to caffe lib and recompile program again

  • run again with same program

  • check size and time again - the same

@DVEfremov
Copy link
Contributor Author

Iit's not critical and could be fixed later.

@gfursin
Copy link
Contributor

gfursin commented Mar 6, 2017

I currently check size of the program before copying to device (to avoid copying huge files like AlexNet to the device over and over again), however we should probably add check for the date/time of the latest update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants