Set visibility of internal symbols to hidden

This commit is contained in:
Martin Kroeker 2022-06-22 18:43:30 +02:00 committed by GitHub
parent 35f8ccb87d
commit 1a52cbf9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -234,7 +234,11 @@ static int tpmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F
return 0;
}
int CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){
int
#ifndef C_MSVC
__attribute__((visibility("hidden")))
#endif
CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){
blas_arg_t args;
blas_queue_t queue[MAX_CPU_NUMBER];