forked from pytorch/FBGEMM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call avx512 implementation if we didn't build it (pytorch#1930)
Summary: You can't use `__AVX512F__` because EmbeddingSpMDM isn't actually built with -mavx512f. Carefully selected the macro to be NO_AVX512 so that I don't have to modify the fbcode build (where we assume we have AVX512 compiler support). Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: pytorch#1930 Reviewed By: brad-mengchi, excelle08, r-barnes, shintaro-iwasaki Differential Revision: D48243887 Pulled By: ezyang fbshipit-source-id: d3b6ca16f7eb44966ce810ab35b10164ef8bebb5
- Loading branch information
1 parent
7e31f39
commit 1b2746f
Showing
2 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters