Community
cancel
Showing results for 
Search instead for 
Did you mean: 
missing__zlw
Beginner
44 Views

is _intel_fast_memset same as _intel_new_memset?

I am using icc 11.1. Using the profiler, I can see the memset call is actually calling _intel_new_memset.

Is this the same as _intel_fast_memset? Which one performs better? If I need to switch to _intel_fast_memset, how should I do that?

Thanks.
0 Kudos
1 Reply
Judith_W_Intel
Employee
44 Views


__intel_fast_memset is a general purpose function which calls different versions of __intel_new_memset depending upon architecture and CPU type. Assuming inlining it should be just as fast on your particular system as calling _intel_new_memset directly, and a lot more portable.