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

windows 10 static/shared builds - which libs to use

spence__ian
Beginner
1,041 Views

Hi,

I'm on Windows 10, command line using nvcc to link objects to a 64 bit .exe

I see there's various dlls & libs for windows 10, 64 bit:

\compilers_and_libraries_2020.0.166\windows\ipp\lib\intel64_win has .libs,

as does subdirectories \ipp\intel64_win\threaded has .libs

& \ipp\intel64_win\tl\ has

\ipp\intel64_win\tl\openmp\ with _tl.dll & _tl.lib

&

\ipp\intel64_win\tl\tbb\ with _tl.dll & _tl.lib

If I'm using TBB in my app, and linking to the TBB libs (tbb & tbbmalloc), which TBB (vc_mt or vc14) & static IPP .libs  do I link to? I thought the TBB libs were dynamic/shared, but I don't see any TBB .dlls, only TBB .libs

Here are the include contents of TBB app:

#include <base_ipp.h>

#include "ippcore.h"
#include "ipps.h"
#include "ippi.h"

#ifdef USE_TBB
#define TBB_PREVIEW_MEMORY_POOL 1
#include "task_scheduler_init.h"
#include "parallel_for.h"
#include "blocked_range2d.h"
#include "memory_pool.h"
using namespace tbb;
#endif

Thanks

Ian

 

0 Kudos
1 Reply
Mark_L_Intel
Moderator
1,041 Views

Hello,

   Where have you downloaded TBB from? In general, you could download TBB from https://github.com/intel/tbb. And then build TBB using instructions there for your platform -- after that you should see dll files under, e.g. bin/intel64/vs14

Thanks,

Mark 

0 Kudos
Reply