"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "8a83027274812ebc7f6613f0f418a81d0b2ba843"
Unverified Commit 62351d8f authored by Ilia Taraban's avatar Ilia Taraban Committed by GitHub
Browse files

[Misc] Disable LibXSMM SpMM Cmp for AVX2 platforms (#5962)

parent e1f663f8
......@@ -267,10 +267,10 @@ void SpMMCmpCsr(
#if !defined(_WIN32)
#ifdef USE_LIBXSMM
int cpu_id = libxsmm_cpuid_x86();
const bool no_libxsmm =
bcast.use_bcast || std::is_same<DType, double>::value ||
(std::is_same<DType, BFloat16>::value && cpu_id < LIBXSMM_X86_AVX512) ||
!dgl::runtime::Config::Global()->IsLibxsmmAvailable();
const bool no_libxsmm = bcast.use_bcast ||
std::is_same<DType, double>::value ||
cpu_id < LIBXSMM_X86_AVX512 ||
!dgl::runtime::Config::Global()->IsLibxsmmAvailable();
if (!no_libxsmm) {
SpMMCmpCsrLibxsmm<IdType, DType, Op, Cmp>(
bcast, csr, ufeat, efeat, out, argu, arge);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment