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

Dynamic replacement of memory allocation with VS2019 (vcruntime140.dll)

mtrekker
Beginner
472 Views

The documentation says that Visual C++ runtime can be dynamically replaced by OneTBB memory allocators. This seems to be true only for standard malloc/free.

Is there any plan to support operators new/delete when using VS2019 ?

0 Kudos
3 Replies
GouthamK_Intel
Moderator
439 Views

Hi,

Thanks for reaching out to us!

We are forwarding this thread to the concerned internal team, who will guide you further.

Have a Good day!


Thanks & Regards

Goutham


Mariya_P_Intel
Moderator
424 Views

oneTBB documentation says that the following dynamic memory functions are replaced:

  • Standard C library functions: malloc, calloc, realloc, free
  • Replaceable global C++ operators new and delete
  • Microsoft* C run-time library functions: _msize, _aligned_malloc, _aligned_realloc, _aligned_free, _aligned_msize

If you have some difficulties/errors using oneTBB memory allocation, then please provide us the code reproducer.

Mariya_P_Intel
Moderator
371 Views

@mtrekker, there was no feedback from you for more than a week. I assume that the above comment helped you. We are discontinuing monitoring this thread. Please raise a new thread in case of any further issues.

Thanks, Mariya


Reply