Community
cancel
Showing results for 
Search instead for 
Did you mean: 
thomtek
Beginner
56 Views

ippsSet_32fc throws memory error on "l9" CPUs

Using IPP 8.0.1 on Core i7-4500U and -4600U CPUs (using "l9" IPP) , the ippsSet_32fc() function throws a memory access fault in the following code.  Application built with VS2010.  It does not happen with i7-2600 processor ("e9" IPP).

void bugTest_ippsSet_32fc()
{
    Ipp32fc val;
    val.re = val.im = 0.0f;
   
    int bufflen = 2097152;  //L
    Ipp32fc* buf = ippsMalloc_32fc(bufflen);
    int offset = 446157;  //M
    int setlen = bufflen - (offset+624176-1);  //L-(M+N-1)
   
    ippsSet_32fc(val, buf+offset, setlen);   // Memory fault thrown in this function

    ippsFree(buf);
}

CPU feature value is 0x0000efff for the CPUs that have the error.  IPP version info:

IPP  : Name:ippCore  Ver:8.0.1 (r40318)  Build:8.0.1.40318
IPPs : Name:ippSP AVX2 (l9)  Ver:8.0.1 (r40318)  Build:8.0.1.40318
 

0 Kudos
2 Replies
Chao_Y_Intel
Employee
56 Views

Hello, 

Could you have a check on the latest IPP 8.2 release? I recalled it has old issues, which is already fixed now. 

Thanks,
Chao

thomtek
Beginner
56 Views

The problem appears to be fixed in 8.2.

It would be really helpful to have a "fixed problem" log for each release so we could more simply find things like this rather than having to hunt down and debug issues that are already known and fixed.

Tom