-
Notifications
You must be signed in to change notification settings - Fork 40
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
"ck compile program:caffe-time --target_os=android21-arm" fails with Android NDK GCC compiler #51
Comments
A trivial workaround seems to use:
but one would naturally expect:
to succeed if it's allowed. |
Well, this is a real program (and not program:caffe which is a front-end to already compiled caffe), so you need to compile it first ;). Therefore it's not a workaround, but correct usage ;) ... I also wrote it in the docs ... As for OS - originally I had only -arm, but then it caused lots of confusion, because different packages means different things under default -arm (I noticed it when I was unified all Caffe deps), that's why eventually I tried to unify it similar to what other meant by this:
Also, notice, that if we use device module for ARM's workload automation, it will try to detect device features and will try to automatically pre-set correct OS ... So, it's more about conventions. Otherwise, how will we specify default ABI of "armeabi"? Which CK OS extension should we use? |
I see what you mean. But I used the I guess I am complaining that CK should have given a warning and presented a list of options for the ambiguous target
and then be asked to resolve the target with supported versions of Android and architecture... |
My idea was to keep basic blocks such as "program" quite simple and gradually add more functionality in a higher-level modules. As I mentioned, there is already additional functionality which we do not use much yet, where you connect your "machine", describe it, detect parameters, and then use it as a target, i.e. This is the preffered method, but I just didn't have time to thoroughly test it though. It was prepared as a part of CK-WA: https://github.com/ctuning/ck-wa However, eventually, we can also enhance compilation with tags, as you suggest. I am neutral to that, particularly if it is useful for users and simple to implement ;) ... |
Full log: caffe-time.android21-arm.gcc.txt
The text was updated successfully, but these errors were encountered: