ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

expected dimensions in neon_sgemm.cpp

Open GalMoore opened this issue 6 years ago • 4 comments

I'm trying to run the neon_sgemm.cpp example with a matrix.npy file I created of shape 32x32 and data type is floating point32. .npy created in python. I am getting the error below. Any ideas? Thanks!

!!!!!!!!!!!!!!!!!!!!!!!!!!!

ERROR in open /home/gal/code/Compute_Library_Comparison/ComputeLibrary/utils/ImageLoader.h:399: Accessing /home/gal/code/compileACL_Neon_CNN/32x32_FP.npy: basic_ios::clear: iostream error 
!!!!!!!!!!!!!!!!!!!!!!!!!!!

GalMoore avatar Jul 05 '20 10:07 GalMoore

Thanks for your question, @GalMoore Based on the message, it looks like reading the file is failed for some reason. For me to investigate, could you provide your command line so I can try to reproduce myself? If you could provide your 'npy' file as well, it would be easier for me to try.

Thanks.

sanpar02 avatar Jul 06 '20 13:07 sanpar02

@sanpar02 the issue was actually in the compilation part. Thanks!

GalMoore avatar Jul 07 '20 07:07 GalMoore

@GalMoore

May I ask if the problem is gone when you resolve the issue in the compilation part?

Thanks.

sanpar02 avatar Jul 07 '20 08:07 sanpar02

Yes it works now thanks.

GalMoore avatar Jul 07 '20 09:07 GalMoore