File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64|i386|i686")
225
225
226
226
message (STATUS "Processor is ${CMAKE_SYSTEM_PROCESSOR} ; will build AVX2 target" )
227
227
228
- get_filelist("get_fbgemm_avx2_srcs(msvc= ${MSVC_BOOL} )" FBGEMM_AVX2_SRCS)
228
+ get_filelist("get_fbgemm_avx2_srcs()" FBGEMM_AVX2_SRCS)
229
229
get_filelist("get_fbgemm_inline_avx2_srcs(msvc=${MSVC_BOOL} )" FBGEMM_AVX2_INLINE_SRCS)
230
230
231
231
cpp_library(
@@ -259,7 +259,7 @@ endif()
259
259
if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64|i386|i686" AND CXX_AVX512_FOUND)
260
260
message (STATUS "Processor is ${CMAKE_SYSTEM_PROCESSOR} ; will build AVX512 target" )
261
261
262
- get_filelist("get_fbgemm_avx512_srcs(msvc= ${MSVC_BOOL} )" FBGEMM_AVX512_SRCS)
262
+ get_filelist("get_fbgemm_avx512_srcs()" FBGEMM_AVX512_SRCS)
263
263
get_filelist("get_fbgemm_inline_avx512_srcs(msvc=${MSVC_BOOL} )" FBGEMM_AVX512_INLINE_SRCS)
264
264
265
265
cpp_library(
Original file line number Diff line number Diff line change @@ -116,8 +116,7 @@ def get_fbgemm_public_headers():
116
116
"include/fbgemm/Types.h" ,
117
117
]
118
118
119
- # buildifier: disable=unused-variable
120
- def get_fbgemm_avx2_srcs (msvc = False ):
119
+ def get_fbgemm_avx2_srcs ():
121
120
return [
122
121
#All the source files that either use avx2 instructions statically
123
122
"src/EmbeddingSpMDMAvx2.cc" ,
@@ -151,8 +150,7 @@ def get_fbgemm_inline_avx2_srcs(msvc = False, buck = False):
151
150
})
152
151
return asm_srcs if not msvc else intrinsics_srcs
153
152
154
- # buildifier: disable=unused-variable
155
- def get_fbgemm_avx512_srcs (msvc = False ):
153
+ def get_fbgemm_avx512_srcs ():
156
154
return [
157
155
#All the source files that use avx512 instructions statically
158
156
"src/FbgemmBfloat16ConvertAvx512.cc" ,
You can’t perform that action at this time.
0 commit comments