I am having a problem when calling the ippsAdd_32s_Sfs function. On execution the program crashes throwing an Illegal Instruction exception.
Here is a minimal example that reproduces the error:
int * test1 = new int; int * test2 = new int; int * test3 = new int; ippsSet_32s( 0, test1, 2000 ); ippsSet_32s( 1, test2, 2000 ); ippsAdd_32s_Sfs( test1, test2, test3, 2000, 0 );
I really have no idea what could be the cause of this. The documentation seems to be pretty straightforward but just in case: Am I doing something wrong when calling the function? And since the program is running on a Xeon E5540 It seems unlikely to me that a basic arithmetic operation like that should not be supported by the hardware.
Any thoughs are appreciated.