You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use gpu_library_selector for permute_pooled_embedding_ops_gpu (#1799)
Summary:
X-link: pytorch/FBGEMM#2435
Pull Request resolved: #1799
Using gpu_library_selector can avoid divergence in the usercode
A few notable changes:
* the original permute_pooled_embedding_ops_gpu is missing link_whole
* Make permute_pooled_embedding_function.cpp as its own library. This is because permute_pooled_embedding_function.cpp is included in both permute_pooled_embedding_ops_gpu and permute_pooled_embedding_ops_cpu. So when we link the _cpu and _gpu together, it'll complain about duplicate symbol.
Reviewed By: houseroad
Differential Revision: D54986292
fbshipit-source-id: b029c689eaf5f143b6d0b710aa30a06d1dd141f5
0 commit comments