Hi,
I'm trying to setup vscode environment for the C7X compiler.
I was able to extract cl7x's predefined macros with the option --preproc_macros and added that to my env.
However, Intellisense still is not able to find the definition of float4 in the following code:
#include <c7x.h>
void MyFunc(const float* restrict mat1, const float* restrict mat2, float* restrict out)
{
float4 vec1 = *stoc_ptr(float4, mat1);
float4 vec2 = *stoc_ptr(float4, mat2);
float4 vecout = vec1 * vec2;
*stoc_ptr(float4, out) = vecout;
}
Looking at c7x.h, I was not able to find it as well. How/where is float4 defined/declared?
Thanks,
Fred
