From 0d979ae6c23463412b53badc4efa996cfdfbb372 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 18 Jun 2024 13:18:58 +0200 Subject: [PATCH] Rename hwaccelrated library to vespa_hwaccelerated. --- eval/src/vespa/eval/CMakeLists.txt | 2 +- vespalib/src/tests/dotproduct/CMakeLists.txt | 2 +- vespalib/src/tests/hwaccelrated/CMakeLists.txt | 4 ++-- vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eval/src/vespa/eval/CMakeLists.txt b/eval/src/vespa/eval/CMakeLists.txt index f1fd4dec2814..d3dcc97bdb26 100644 --- a/eval/src/vespa/eval/CMakeLists.txt +++ b/eval/src/vespa/eval/CMakeLists.txt @@ -11,7 +11,7 @@ vespa_add_library(vespaeval $ INSTALL lib64 DEPENDS - hwaccelrated + vespa_hwaccelerated onnxruntime ${VESPA_LLVM_LIB} ) diff --git a/vespalib/src/tests/dotproduct/CMakeLists.txt b/vespalib/src/tests/dotproduct/CMakeLists.txt index cd01b44644e3..41f8ba5c1cf0 100644 --- a/vespalib/src/tests/dotproduct/CMakeLists.txt +++ b/vespalib/src/tests/dotproduct/CMakeLists.txt @@ -4,7 +4,7 @@ vespa_add_executable(vespalib_dotproductbenchmark_app dotproductbenchmark.cpp DEPENDS vespalib - hwaccelrated + vespa_hwaccelerated ) vespa_add_test(NAME vespalib_dotproductbenchmark_app_sparse-ordered COMMAND vespalib_dotproductbenchmark_app 10 10 1000 1000 BENCHMARK) vespa_add_test(NAME vespalib_dotproductbenchmark_app_sparse-unordered COMMAND vespalib_dotproductbenchmark_app 10 10 1000 1000 BENCHMARK) diff --git a/vespalib/src/tests/hwaccelrated/CMakeLists.txt b/vespalib/src/tests/hwaccelrated/CMakeLists.txt index 2b322a025d0f..2064dc8e7ef5 100644 --- a/vespalib/src/tests/hwaccelrated/CMakeLists.txt +++ b/vespalib/src/tests/hwaccelrated/CMakeLists.txt @@ -4,7 +4,7 @@ vespa_add_executable(vespalib_hwaccelrated_test_app TEST hwaccelrated_test.cpp DEPENDS vespalib - hwaccelrated + vespa_hwaccelerated ) vespa_add_test(NAME vespalib_hwaccelrated_test_app COMMAND vespalib_hwaccelrated_test_app) @@ -13,5 +13,5 @@ vespa_add_executable(vespalib_hwaccelrated_bench_app hwaccelrated_bench.cpp DEPENDS vespalib - hwaccelrated + vespa_hwaccelerated ) diff --git a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt index 0e318a6b8f50..e2485543b333 100644 --- a/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt +++ b/vespalib/src/vespa/vespalib/hwaccelrated/CMakeLists.txt @@ -6,7 +6,7 @@ else() unset(ACCEL_FILES) endif() -vespa_add_library(hwaccelrated OBJECT +vespa_add_library(vespa_hwaccelerated SOURCES iaccelrated.cpp generic.cpp @@ -17,4 +17,4 @@ vespa_add_library(hwaccelrated OBJECT set_source_files_properties(avx2.cpp PROPERTIES COMPILE_FLAGS "-O3 -march=haswell") set_source_files_properties(avx512.cpp PROPERTIES COMPILE_FLAGS "-O3 -march=skylake-avx512 -mprefer-vector-width=512") set(BLA_VENDOR OpenBLAS) -vespa_add_target_package_dependency(hwaccelrated BLAS) +vespa_add_target_package_dependency(vespa_hwaccelerated BLAS)