Skip to content

Commit 67cdde6

Browse files
Kaiweitumeta-codesync[bot]
authored andcommitted
Apply the embedding kernel compile options to the embedding target
Differential Revision: D114787706
1 parent cadb0fa commit 67cdde6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/adsim/src/cpp2/server/dwarfs/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ add_dependencies(gemm fbgemm)
4848
add_library(embedding Embedding.cc Embedding.h)
4949

5050
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64")
51-
target_compile_options(gemm PRIVATE
51+
target_compile_options(embedding PRIVATE
5252
${COROUTINES_FLAG}
5353
-m64
5454
-mavx2
5555
-mfma
5656
-masm=intel)
5757
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|arm64")
58-
target_compile_options(gemm PRIVATE
58+
target_compile_options(embedding PRIVATE
5959
${COROUTINES_FLAG}
6060
-march=armv8.5-a+sve2
6161
-mcpu=native)

0 commit comments

Comments
 (0)