Skip to content

Commit

Permalink
Fix inconsistent dll linkage warning (pytorch#2059)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#2059

Reviewed By: sryap

Differential Revision: D49938275

Pulled By: q10

fbshipit-source-id: 3110c89af9d80e64f2a4715eed0d3e2f93f0e3c8
  • Loading branch information
cyyever authored and facebook-github-bot committed Oct 5, 2023
1 parent fa3eab6 commit 2b04682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/fbgemm/FbgemmFPCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ FBGEMM_API void cblas_gemm_compute(
int thread_id = 0,
int num_threads = 1);

#if defined(FBGEMM_EXPORTS)
// autotuned kernel splits for various cases m = 1:mb_max
template <typename T>
void cblas_gemm_compute(
Expand Down Expand Up @@ -252,6 +253,7 @@ void cblas_gemm_compute(
}
}
}
#endif

#undef FBGEMM_USE_REF_KERNEL
} // namespace fbgemm

0 comments on commit 2b04682

Please sign in to comment.