Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ jobs:
vmImage: 'ubuntu-latest'
steps:
- script: |
echo "FROM quay.io/pypa/manylinux1_x86_64
echo "FROM quay.io/pypa/manylinux2014_i686
COPY . /tmp/openblas
RUN cd /tmp/openblas && \
COMMON_FLAGS='DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32' && \
BTYPE='BINARY=64' CC=gcc && \
make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE && \
make -C test $COMMON_FLAGS $BTYPE && \
make -C ctest $COMMON_FLAGS $BTYPE && \
make -C utest $COMMON_FLAGS $BTYPE" > Dockerfile
COMMON_FLAGS='TARGET=PENRYN NUM_THREADS=32' && \
BTYPE='BINARY=32' CC=gcc && \
make TARGET=NEHALEM BINARY=32 USE_THREAD=0 && \
make -C utest TARGET=NEHALEM BINARY=32 USE_THREAD=0" > Dockerfile
docker build .
displayName: Run manylinux1 docker build
- job: Intel_SDE_skx
Expand Down
1 change: 1 addition & 0 deletions kernel/arm/zscal.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F

inc_x2 = 2 * inc_x;
if (dummy2 == 0) {
printf("arm zscal da_r %f da_i %f\n",da_r,da_i);
for (i = 0; i < n; i++)
{
if (da_r == 0.0 && da_i == 0.0)
Expand Down
2 changes: 2 additions & 0 deletions kernel/x86/KERNEL
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,5 @@ endif

CSCALKERNEL = ../arm/zscal.c
ZSCALKERNEL = ../arm/zscal.c
CDOTKERNEL = ../arm/zdot.c
ZDOTKERNEL = ../arm/zdot.c
2 changes: 1 addition & 1 deletion lapack/potf2/zpotf2_L.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/* interpreted as representing official policies, either expressed */
/* or implied, of The University of Texas at Austin. */
/*********************************************************************/

#pragma GCC optimize("O0")
#include <stdio.h>
#include <math.h>
#include "common.h"
Expand Down
6 changes: 3 additions & 3 deletions lapack/potf2/zpotf2_U.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/* interpreted as representing official policies, either expressed */
/* or implied, of The University of Texas at Austin. */
/*********************************************************************/

#pragma GCC optimize("O0")
#include <stdio.h>
#include <math.h>
#include "common.h"
Expand Down Expand Up @@ -66,7 +66,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
for (j = 0; j < n; j++) {

ajj = CREAL(DOTC_K(j, a, 1, a, 1));

printf("zpotf2_U ajj from CDOT is %f\n",ajj);
ajj = *(a + j * 2) - ajj;

if (ajj <= 0){
Expand All @@ -86,7 +86,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
a + lda * 2, lda,
a, 1,
a + (j + lda) * 2, lda, sb);

printf("zpotf2_U calling scal with 1./%f\n",ajj);
SCAL_K(i, 0, 0, ONE / ajj, ZERO,
a + (j + lda) * 2, lda, NULL, 0, NULL, 0);
}
Expand Down
2 changes: 1 addition & 1 deletion lapack/potrf/potrf_L_single.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/* interpreted as representing official policies, either expressed */
/* or implied, of The University of Texas at Austin. */
/*********************************************************************/

#pragma GCC optimize("O0")
#include <stdio.h>
#include "common.h"

Expand Down
4 changes: 3 additions & 1 deletion utest/test_potrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if defined(ARCH_LOONGARCH64)
#pragma GCC optimize("no-gcse")
#endif
#pragma GCC optimize("O0")
/*
void BLASFUNC(cpotrf)(char*, BLASINT*, complex float*, BLASINT*, BLASINT*);
void BLASFUNC(zpotrs_(char*, BLASINT*, BLASINT*, complex double*,
Expand Down Expand Up @@ -394,7 +395,8 @@ CTEST(potrf, bug_695){
};
#ifdef BUILD_COMPLEX
BLASFUNC(cpotrf)(&up, &n, (float*)(A3), &n, info);
// printf("%g+%g*I\n", creal(A3[91]), cimag(A3[91]));
printf("%g+%g*I\n", creal(A3[90]), cimag(A3[90]));
printf("%g+%g*I\n", creal(A3[91]), cimag(A3[91]));
if(isnan(CREAL(A3[91])) || isnan(CIMAG(A3[91]))) {
CTEST_ERR("%s:%d got NaN", __FILE__, __LINE__);
}
Expand Down
Loading