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

tbbmalloc_proxy not work on VS2015

Xijue
Beginner
267 Views

Hi, I'm learning tbbmalloc, the version is tbb44_20160526oss_win

I include tbbmalloc_proxy.h, it works well in VS2010, but not in VS2015, 

Who can help me, thanks.

0 Kudos
1 Solution
Alexandr_K_Intel1
267 Views

Xijue,

Could you add some details on what’s exactly going on? I.e., is it crash of some form? What is call stack for the crash etc?

Just in case, for applications linked with the debug version of Microsoft Universal CRT (ucrtbased.dll, used since Microsoft Visual C++ 14.0) dynamic replacement of memory management functions is not supported (see https://software.intel.com/sites/default/files/managed/db/85/release_notes_tbb_4.4_u5.txt). Only release library is supported.

View solution in original post

2 Replies
Alexandr_K_Intel1
268 Views

Xijue,

Could you add some details on what’s exactly going on? I.e., is it crash of some form? What is call stack for the crash etc?

Just in case, for applications linked with the debug version of Microsoft Universal CRT (ucrtbased.dll, used since Microsoft Visual C++ 14.0) dynamic replacement of memory management functions is not supported (see https://software.intel.com/sites/default/files/managed/db/85/release_notes_tbb_4.4_u5.txt). Only release library is supported.

Xijue
Beginner
267 Views

Thank you for the reply, and sorry I have described is not clear.

Yes, as you said , dynamic replacement of memory management functions is not worked well on debug version, release version is OK.

Sorry, I did not read the release notes carefully.

Thanks  aggin.

Reply