Commit 14ead921 authored by Raymond Knopp's avatar Raymond Knopp Committed by laurent

added links for cblas on aarch64 (Ubuntu 22.04 Pro)

parent 9c420c24
......@@ -134,6 +134,13 @@ elseif(EXISTS "/usr/include/x86_64-linux-gnu/cblas.h")
list(APPEND ATLAS_LIBRARIES atlas)
list(APPEND ATLAS_LIBRARIES lapack)
elseif(EXISTS "/usr/include/aarch64-linux-gnu/cblas.h")
include_directories("/usr/include/aarch64-linux-gnu")
LINK_DIRECTORIES("/usr/lib/aarch64-linux-gnu")
list(APPEND ATLAS_LIBRARIES cblas)
list(APPEND ATLAS_LIBRARIES atlas)
list(APPEND ATLAS_LIBRARIES lapack)
else()
message("No Blas/Atlas libs found, some targets will fail")
endif()
......
......@@ -36,7 +36,7 @@ int dl_channel_level(c16_t *dl_ch, LTE_DL_FRAME_PARMS *frame_parms)
int avg;
//clear average level
__m128i avg128F = simde_mm_setzero_si128();
simde__m128i avg128F = simde_mm_setzero_si128();
dl_ch128 = (simde__m128i *)dl_ch;
for (rb=0; rb<frame_parms->N_RB_DL; rb++) {
......
......@@ -74,6 +74,10 @@ void multadd_real_vector_complex_scalar(const int16_t *x, const int16_t *alpha,
}
}
#if defined(__aarch64__) || defined(__arm__)
#define __builtin_cpu_supports(a) 0
#endif
void rotate_cpx_vector(c16_t *x,
c16_t *alpha,
c16_t *y,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment