From cf36ce977c0b8bd54c906e63ce31931ac060178f Mon Sep 17 00:00:00 2001 From: anyvoice <130631963+anyvoiceai@users.noreply.github.com> Date: 星期日, 02 七月 2023 09:12:18 +0800 Subject: [PATCH] Creates tensor in target device to avoid high CPU occupation. (#695) --- funasr/runtime/websocket/CMakeLists.txt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/funasr/runtime/websocket/CMakeLists.txt b/funasr/runtime/websocket/CMakeLists.txt index c1715d8..513e48d 100644 --- a/funasr/runtime/websocket/CMakeLists.txt +++ b/funasr/runtime/websocket/CMakeLists.txt @@ -56,8 +56,8 @@ # install openssl first apt-get install libssl-dev find_package(OpenSSL REQUIRED) -add_executable(funasr-ws-server "funasr-ws-server.cpp" "websocket-server.cpp") -add_executable(funasr-ws-client "funasr-ws-client.cpp") +add_executable(funasr-wss-server "funasr-wss-server.cpp" "websocket-server.cpp") +add_executable(funasr-wss-client "funasr-wss-client.cpp") -target_link_libraries(funasr-ws-client PUBLIC funasr ssl crypto) -target_link_libraries(funasr-ws-server PUBLIC funasr ssl crypto) +target_link_libraries(funasr-wss-client PUBLIC funasr ssl crypto) +target_link_libraries(funasr-wss-server PUBLIC funasr ssl crypto) -- Gitblit v1.9.1