Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2449 Discussions

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

mtrekker
Beginner
666 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
633 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
618 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
565 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