You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am not able to compile android-nn-driver 21.08, here is the error I get:
ArmnnPreparedModel_1_2.cpp:722:31: error: no matching function for call to 'MicrosecondsDuration'
timing.timeOnDevice = MicrosecondsDuration(timeTaken.second, timeTaken.first);
^~~~~~~~~~~~~~~~~~~~
ArmnnPreparedModel_1_2.cpp:38:15: note: candidate function not viable: no known conversion from 'time_point<std::chrono::system_clock, [...]>' to 'time_point<std::chrono::steady_clock, [...]>' for 1st argument
unsigned long MicrosecondsDuration(TimePoint endPoint, TimePoint startPoint)
At line 700 we can see that timeTaken is of type armnn::InferenceTimingPair which is defined such as:
using HighResolutionClock = std::chrono::high_resolution_clock::time_point;
using InferenceTimingPair = std::pair<HighResolutionClock, HighResolutionClock>;
Hi,
I am not able to compile android-nn-driver 21.08, here is the error I get:
At line 700 we can see that
timeTaken
is of typearmnn::InferenceTimingPair
which is defined such as:inside armnn v21.08
while timepoint is defined as
inside ArmnnPreparedModel_1_2.cpp line 31
I am not a c++ expert, so maybe there is a magical option I can use to make this work? I am cross compiling using clang
I can work an a patch if needed.
Thanks
The text was updated successfully, but these errors were encountered: