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
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "77241c48af6e31d9f7fabba63079ec62ac01be5a"
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
Show 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,9 +267,9 @@ void SpMMCmpCsr(
...
@@ -267,9 +267,9 @@ void SpMMCmpCsr(
#if !defined(_WIN32)
#if !defined(_WIN32)
#ifdef USE_LIBXSMM
#ifdef USE_LIBXSMM
int
cpu_id
=
libxsmm_cpuid_x86
();
int
cpu_id
=
libxsmm_cpuid_x86
();
const
bool
no_libxsmm
=
const
bool
no_libxsmm
=
bcast
.
use_bcast
||
bcast
.
use_bcast
||
std
::
is_same
<
DType
,
double
>::
value
||
std
::
is_same
<
DType
,
double
>::
value
||
(
std
::
is_same
<
DType
,
BFloat16
>::
value
&&
cpu_id
<
LIBXSMM_X86_AVX512
)
||
cpu_id
<
LIBXSMM_X86_AVX512
||
!
dgl
::
runtime
::
Config
::
Global
()
->
IsLibxsmmAvailable
();
!
dgl
::
runtime
::
Config
::
Global
()
->
IsLibxsmmAvailable
();
if
(
!
no_libxsmm
)
{
if
(
!
no_libxsmm
)
{
SpMMCmpCsrLibxsmm
<
IdType
,
DType
,
Op
,
Cmp
>
(
SpMMCmpCsrLibxsmm
<
IdType
,
DType
,
Op
,
Cmp
>
(
...
...
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