Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
1711 Discussions

Using non-temporal (streaming) store Intrinsics get "Access violation" exception?

Ryson1991
Beginner
673 Views

Hi,

I'm a newbie try to optimize my computational program. When I using streaming store Intrinsics replace regular store Intrinsics, I get the runtime error.

My application is a finite-difference program. This is the problematic codes.

 

_mm256_stream_pd(
    &A[idx], _mm256_add_pd(
             _mm256_mul_pd(C0, _mm256_load_pd(&A[idx])),
             _mm256_sub_pd(_mm256_mul_pd(C1, _mm256_sub_pd(Bz0, Bzy)),
                           _mm256_mul_pd(C2, _mm256_sub_pd(By0, Byz)))));

 

Can't I use non-temporal Intrinsics in this case?  I'm not very clear about the restrictions.

Thanks

0 Kudos
0 Replies
Reply