Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

undefined reference to `getCacheSizeMlas(int, bool)' #11

Description

@JuniperHugh

root@TRITON_ARMHC:/home/custom_ort/mlas/build# make -j 30
[ 96%] Built target mlas
[ 98%] Building CXX object examples/CMakeFiles/mlas_exams.dir/main.cpp.o
[100%] Linking CXX executable mlas_exams
/usr/bin/ld: ../libmlas.a(sgemm.cpp.o): in function getKStride()': sgemm.cpp:(.text+0x18): undefined reference to getCacheSizeMlas(int, bool)'
/usr/bin/ld: ../libmlas.a(sgemm.cpp.o): in function MlasGemmBatch(CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, unsigned long, unsigned long, unsigned long, MLAS_SGEMM_DATA_PARAMS const*, unsigned long, IMlasThreadPool*)': sgemm.cpp:(.text+0x2a18): undefined reference to getCacheSizeMlas(int, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/mlas_exams.dir/build.make:98: examples/mlas_exams] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: examples/CMakeFiles/mlas_exams.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Can you provide the implementation of getCacheSizeMlas(int, bool) that cannot be found in the main branch?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions