Skip to content

Commit a55694d

Browse files
authored
Declare dot_compute static to avoid conflicts in multiarch builds
1 parent 85a41e9 commit a55694d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/x86_64/ddot.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void ddot_kernel_8(BLASLONG n, FLOAT *x, FLOAT *y, FLOAT *d)
7777

7878
#endif
7979

80-
FLOAT dot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
80+
static FLOAT dot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
8181
{
8282
BLASLONG i=0;
8383
BLASLONG ix=0,iy=0;
@@ -189,7 +189,6 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
189189
#else
190190
mode = BLAS_DOUBLE | BLAS_REAL;
191191
#endif
192-
fprintf(stderr,"threaded ddot with %d threads\n",nthreads);
193192
blas_level1_thread_with_return_value(mode, n, 0, 0, &dummy_alpha,
194193
x, inc_x, y, inc_y, result, 0,
195194
( void *)dot_thread_function, nthreads);

0 commit comments

Comments
 (0)