In my program,I am trying to vectorize a function that consumes a great deal of the program’s execution time. I believe that I have done this on the function itself which I will call Function A.
However, another function is called inside of Function A’s vectorized code area. This Function B will be inlined during the compile stage. However, it is raw c source code, not any vectorized code at all. Will this Function B have to be vectorized or not?
If Function B must be vectorized how does one do it? Since Function A already has a vectorized section that will now contain an unvectorized section,Function B, and only part of Function B can be vectorized in the best circumstances. Is it acceptable to have a large section of unvectorized code in a vectorized code section?
This is confusing.
Any help appreciated.