checked, that zher2 is OK
This commit is contained in:
		
							parent
							
								
									f45f2c8465
								
							
						
					
					
						commit
						47e8950e77
					
				| 
						 | 
					@ -61,7 +61,7 @@ static int (*her2[])(BLASLONG, FLOAT, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLASLON
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SMPTEST
 | 
					#ifdef SMP
 | 
				
			||||||
static int (*her2_thread[])(BLASLONG, FLOAT *, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, int) = {
 | 
					static int (*her2_thread[])(BLASLONG, FLOAT *, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, int) = {
 | 
				
			||||||
#ifdef XDOUBLE
 | 
					#ifdef XDOUBLE
 | 
				
			||||||
  xher2_thread_U, xher2_thread_L, xher2_thread_V, xher2_thread_M,
 | 
					  xher2_thread_U, xher2_thread_L, xher2_thread_V, xher2_thread_M,
 | 
				
			||||||
| 
						 | 
					@ -89,7 +89,7 @@ void NAME(char *UPLO, blasint *N, FLOAT  *ALPHA,
 | 
				
			||||||
  blasint info;
 | 
					  blasint info;
 | 
				
			||||||
  int  uplo;
 | 
					  int  uplo;
 | 
				
			||||||
  FLOAT *buffer;
 | 
					  FLOAT *buffer;
 | 
				
			||||||
#ifdef SMPTEST
 | 
					#ifdef SMP
 | 
				
			||||||
  int nthreads;
 | 
					  int nthreads;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -123,7 +123,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT *ALPHA
 | 
				
			||||||
  FLOAT *buffer;
 | 
					  FLOAT *buffer;
 | 
				
			||||||
  int trans, uplo;
 | 
					  int trans, uplo;
 | 
				
			||||||
  blasint info;
 | 
					  blasint info;
 | 
				
			||||||
#ifdef SMPTEST
 | 
					#ifdef SMP
 | 
				
			||||||
  int nthreads;
 | 
					  int nthreads;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -181,7 +181,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT *ALPHA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  buffer = (FLOAT *)blas_memory_alloc(1);
 | 
					  buffer = (FLOAT *)blas_memory_alloc(1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SMPTEST
 | 
					#ifdef SMP
 | 
				
			||||||
  nthreads = num_cpu_avail(2);
 | 
					  nthreads = num_cpu_avail(2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (nthreads == 1) {
 | 
					  if (nthreads == 1) {
 | 
				
			||||||
| 
						 | 
					@ -189,7 +189,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT *ALPHA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (her2[uplo])(n, alpha_r, alpha_i, x, incx, y, incy, a, lda, buffer);
 | 
					    (her2[uplo])(n, alpha_r, alpha_i, x, incx, y, incy, a, lda, buffer);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SMPTEST
 | 
					#ifdef SMP
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (her2_thread[uplo])(n, ALPHA, x, incx, y, incy, a, lda, buffer, nthreads);
 | 
					    (her2_thread[uplo])(n, ALPHA, x, incx, y, incy, a, lda, buffer, nthreads);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue