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

Is x86 supposed to be slower than x64? #20

Open
wangg opened this issue Jun 21, 2018 · 4 comments
Open

Is x86 supposed to be slower than x64? #20

wangg opened this issue Jun 21, 2018 · 4 comments

Comments

@wangg
Copy link

wangg commented Jun 21, 2018

First of all, thank you very much for sharing the x86 building. It was literally killing me...

I tried to compile the same C++ code with r1.8 x86(libtensorflow-cpu-windows-x86_32-1.8.0-sse2) and x64(libtensorflow-cpu-windows-x86_64-1.8.0-sse2). The exactly same inference takes about 200ms in the x64 version, but as long as 400ms in the x86 version. Is it normal?

@fo40225
Copy link
Owner

fo40225 commented Jun 21, 2018

I have no idea about this.

@wangg
Copy link
Author

wangg commented Jun 21, 2018

Thanks for the quick response. Could you please give some instructions for build x86 on Windows then? I would like to compile on my own machine to see if it is the same. I tried to compile several versions of tensorflow with cmake and MSVC 2015 (x86) but they all ended up with "error C2719: '_Func': formal parameter with requested alignment of 16 won't be aligned"...

@fo40225
Copy link
Owner

fo40225 commented Jun 21, 2018

@ghost
Copy link

ghost commented Dec 28, 2018

      Thanks for the quick response. Could you please give some instructions for build x86 on Windows then? I would like to compile on my own machine to see if it is the same. I tried to compile several versions of tensorflow with cmake and MSVC 2015 (x86) but they all ended up with "error C2719: '_Func': formal parameter with requested alignment of 16 won't be  aligned"...

Have you solved this problem? How to do?

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

No branches or pull requests

2 participants