Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

can't work with x64 platform

Frank_F
Beginner
348 Views

    Hello everyone!

    I have changed the serial program with Intel TBB,now it is a parallel program. I run the program with vs2010,but it doesn't work with x64.Is TBB can't work with x64?

    Thank you!

0 Kudos
7 Replies
Vladimir_P_1234567890
348 Views

did you compile 64-bit version on TBB?

--Vladimir

0 Kudos
Frank_F
Beginner
348 Views

Vladimir Polin (Intel) wrote:

did you compile 64-bit version on TBB?

--Vladimir

Yes ,I compile 64-bit version on TBB ,but it can't work.

0 Kudos
Vladimir_P_1234567890
348 Views

Do "can't work" mean can't load, can't start, crash or wrong results?

--Vladimir

0 Kudos
Frank_F
Beginner
348 Views

Vladimir Polin (Intel) wrote:

Do "can't work" mean can't load, can't start, crash or wrong results?

--Vladimir

When build solution,appear the error like this:

1>MessageBuildingWithCompiler:
1>  Building with Intel(R) C++ Compiler XE 14.0
1>ClCompile:
1>  ***** ClCompile (x64 - Intel C++)
1>  box.cpp
1>D:\mypictbb\mypic\mypic\StdAfx.h(13): error : cannot open source file "tbb/parallel_for.h"
1>    #include "tbb/parallel_for.h"

0 Kudos
Frank_F
Beginner
348 Views

Vladimir Polin (Intel) wrote:

Do "can't work" mean can't load, can't start, crash or wrong results?

--Vladimir

When i build solution,appear error like this:

1>MessageBuildingWithCompiler:
1>  Building with Intel(R) C++ Compiler XE 14.0
1>ClCompile:
1>  ***** ClCompile (x64 - Intel C++)
1>  box.cpp
1>D:\mypictbb\mypic\mypic\StdAfx.h(13): error : cannot open source file "tbb/parallel_for.h"
1>    #include "tbb/parallel_for.h"

0 Kudos
Vladimir_P_1234567890
348 Views

Did you changed "Use Intel TBB" to "yes" for x64 platform? Its value it configuration specific.

 

0 Kudos
Frank_F
Beginner
348 Views

Vladimir Polin (Intel) wrote:

Did you changed "Use Intel TBB" to "yes" for x64 platform? Its value it configuration specific.

 

Yes,when i change win32 to x64,I forget change  "Use Intel TBB" to "yes" for x64 platform,thank you,dear friend!

0 Kudos
Reply