Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
62351d8f
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "8a83027274812ebc7f6613f0f418a81d0b2ba843"
Unverified
Commit
62351d8f
authored
Jul 10, 2023
by
Ilia Taraban
Committed by
GitHub
Jul 10, 2023
Browse files
[Misc] Disable LibXSMM SpMM Cmp for AVX2 platforms (#5962)
parent
e1f663f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/array/cpu/spmm.h
src/array/cpu/spmm.h
+4
-4
No files found.
src/array/cpu/spmm.h
View file @
62351d8f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment