search for: dim_t

Displaying 1 result from an estimated 1 matches for "dim_t".

2019 Jun 26
3
LAA behavior on Incorrect #pragma omp simd.
Hi All, I have a doubt regarding the behavior of LoopAccessAnalysis on incorrect #pragma omp simd with -fopenmp-simd flag. How should the compiler behave if the #pragma omp simd on a loop is incorrect and can be proved by Loop Access Analysis. Here is the sample code. #pragma omp simd for (dim_t p = 0; p < m; ++p) #pragma unroll for (dim_t i = 0; i < 6; ++i) { { (((r[i]).real)) += (((a[p + i * lda]).real)) * (((x[p]).real)) + (((a[p + i * lda]).imag)) * (((x[p]).imag)); (((r[i]).imag)) += (((a[p + i * lda]).ima...