Skip to content

Commit

Permalink
Fix more MSVC inconsistent DLL linkage (#2064)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2064

Reviewed By: spcyppt

Differential Revision: D49978436

Pulled By: q10

fbshipit-source-id: 74ec5bcc121b79774e20e14480a624e35f28f1e7
  • Loading branch information
cyyever authored and facebook-github-bot committed Oct 6, 2023
1 parent c22d85c commit a684a79
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/EmbeddingSpMDMAvx2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* LICENSE file in the root directory of this source tree.
*/

#include <cassert>
#define FBGEMM_EXPORTS
#include <cmath>
#include "RefImplementations.h"
#include "fbgemm/FbgemmEmbedding.h"
Expand Down
1 change: 1 addition & 0 deletions src/FbgemmBfloat16ConvertAvx2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)))
#include <immintrin.h>
#endif
#define FBGEMM_EXPORTS
#include "fbgemm/FbgemmConvert.h"

namespace fbgemm {
Expand Down
1 change: 1 addition & 0 deletions src/FbgemmBfloat16ConvertAvx512.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)))
#include <immintrin.h>
#endif
#define FBGEMM_EXPORTS
#include "fbgemm/FbgemmConvert.h"

namespace fbgemm {
Expand Down
1 change: 1 addition & 0 deletions src/FbgemmFloat16ConvertAvx2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)))
#include <immintrin.h>
#endif
#define FBGEMM_EXPORTS
#include "fbgemm/FbgemmConvert.h"

namespace fbgemm {
Expand Down
1 change: 1 addition & 0 deletions src/FbgemmFloat16ConvertAvx512.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)))
#include <immintrin.h>
#endif
#define FBGEMM_EXPORTS
#include "fbgemm/FbgemmConvert.h"

namespace fbgemm {
Expand Down

0 comments on commit a684a79

Please sign in to comment.