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
325e795a
Unverified
Commit
325e795a
authored
Mar 01, 2023
by
Hongzhi (Steve), Chen
Committed by
GitHub
Mar 01, 2023
Browse files
Revert "Set USE_LIBXSMM default to OFF. (#5287)" (#5392)
This reverts commit
a5e31391
.
parent
a53ecd22
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
CMakeLists.txt
CMakeLists.txt
+1
-3
benchmarks/scripts/build_dgl_asv.sh
benchmarks/scripts/build_dgl_asv.sh
+1
-1
tests/scripts/build_dgl.bat
tests/scripts/build_dgl.bat
+1
-1
tests/scripts/build_dgl.sh
tests/scripts/build_dgl.sh
+1
-1
No files found.
CMakeLists.txt
View file @
325e795a
...
@@ -27,9 +27,7 @@ dgl_option(USE_NCCL "Build with NCCL support" OFF)
...
@@ -27,9 +27,7 @@ dgl_option(USE_NCCL "Build with NCCL support" OFF)
dgl_option
(
USE_SYSTEM_NCCL
"Build using system's NCCL library"
OFF
)
dgl_option
(
USE_SYSTEM_NCCL
"Build using system's NCCL library"
OFF
)
dgl_option
(
USE_OPENMP
"Build with OpenMP"
ON
)
dgl_option
(
USE_OPENMP
"Build with OpenMP"
ON
)
dgl_option
(
USE_AVX
"Build with AVX optimization"
OFF
)
dgl_option
(
USE_AVX
"Build with AVX optimization"
OFF
)
# LIBXSMM requires Intel MKL installed. If it has not been installed, check the following page:
dgl_option
(
USE_LIBXSMM
"Build with LIBXSMM library optimization"
ON
)
# https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html
dgl_option
(
USE_LIBXSMM
"Build with LIBXSMM library optimization"
OFF
)
dgl_option
(
USE_TVM
"Build with TVM kernels"
OFF
)
dgl_option
(
USE_TVM
"Build with TVM kernels"
OFF
)
dgl_option
(
BUILD_CPP_TEST
"Build cpp unittest executables"
OFF
)
dgl_option
(
BUILD_CPP_TEST
"Build cpp unittest executables"
OFF
)
dgl_option
(
LIBCXX_ENABLE_PARALLEL_ALGORITHMS
"Enable the parallel algorithms library. This requires the PSTL to be available."
OFF
)
dgl_option
(
LIBCXX_ENABLE_PARALLEL_ALGORITHMS
"Enable the parallel algorithms library. This requires the PSTL to be available."
OFF
)
...
...
benchmarks/scripts/build_dgl_asv.sh
View file @
325e795a
...
@@ -9,7 +9,7 @@ pip install -r /asv/torch_gpu_pip.txt
...
@@ -9,7 +9,7 @@ pip install -r /asv/torch_gpu_pip.txt
# build
# build
# 'CUDA_TOOLKIT_ROOT_DIR' is always required for sparse build as torch1.13.1+cu116 is installed.
# 'CUDA_TOOLKIT_ROOT_DIR' is always required for sparse build as torch1.13.1+cu116 is installed.
CMAKE_VARS
=
"-DUSE_OPENMP=ON
-DUSE_LIBXSMM=ON
-DBUILD_TORCH=ON -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda"
CMAKE_VARS
=
"-DUSE_OPENMP=ON -DBUILD_TORCH=ON -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda"
if
[[
$DEVICE
==
"gpu"
]]
;
then
if
[[
$DEVICE
==
"gpu"
]]
;
then
CMAKE_VARS
=
"-DUSE_CUDA=ON -DUSE_NCCL=ON
$CMAKE_VARS
"
CMAKE_VARS
=
"-DUSE_CUDA=ON -DUSE_NCCL=ON
$CMAKE_VARS
"
fi
fi
...
...
tests/scripts/build_dgl.bat
View file @
325e795a
...
@@ -13,7 +13,7 @@ SET TEMP=%WORKSPACE%\tmp
...
@@ -13,7 +13,7 @@ SET TEMP=%WORKSPACE%\tmp
SET
TMPDIR
=
%WORKSPACE%
\tmp
SET
TMPDIR
=
%WORKSPACE%
\tmp
PUSHD
build
PUSHD
build
cmake
-DCMAKE
_CXX_FLAGS
=
"/DDGL_EXPORTS"
-DUSE
_AVX
=
ON
-DUSE
_OPENMP
=
ON
-DUSE
_LIBXSMM
=
ON
-DBUILD
_TORCH
=
ON
-Dgtest
_force_shared_crt
=
ON
-DDMLC
_FORCE_SHARED_CRT
=
ON
-DBUILD
_CPP_TEST
=
1
-DCMAKE
_CONFIGURATION_TYPES
=
"Release"
-DTORCH
_PYTHON_INTERPS
=
python
-DBUILD
_SPARSE
=
ON
..
-G
"Visual Studio 16 2019"
||
EXIT
/B
1
cmake
-DCMAKE
_CXX_FLAGS
=
"/DDGL_EXPORTS"
-DUSE
_AVX
=
ON
-DUSE
_OPENMP
=
ON
-DBUILD
_TORCH
=
ON
-Dgtest
_force_shared_crt
=
ON
-DDMLC
_FORCE_SHARED_CRT
=
ON
-DBUILD
_CPP_TEST
=
1
-DCMAKE
_CONFIGURATION_TYPES
=
"Release"
-DTORCH
_PYTHON_INTERPS
=
python
-DBUILD
_SPARSE
=
ON
..
-G
"Visual Studio 16 2019"
||
EXIT
/B
1
msbuild
dgl
.sln
/m /nr
:false
||
EXIT
/B
1
msbuild
dgl
.sln
/m /nr
:false
||
EXIT
/B
1
COPY
/Y
Release
\runUnitTests.exe .
COPY
/Y
Release
\runUnitTests.exe .
POPD
POPD
...
...
tests/scripts/build_dgl.sh
View file @
325e795a
...
@@ -7,7 +7,7 @@ if [ $# -ne 1 ]; then
...
@@ -7,7 +7,7 @@ if [ $# -ne 1 ]; then
exit
-1
exit
-1
fi
fi
CMAKE_VARS
=
"-DBUILD_CPP_TEST=ON -DUSE_OPENMP=ON
-DUSE_LIBXSMM=ON
"
CMAKE_VARS
=
"-DBUILD_CPP_TEST=ON -DUSE_OPENMP=ON"
# This is a semicolon-separated list of Python interpreters containing PyTorch.
# This is a semicolon-separated list of Python interpreters containing PyTorch.
# The value here is for CI. Replace it with your own or comment this whole
# The value here is for CI. Replace it with your own or comment this whole
# statement for default Python interpreter.
# statement for default Python interpreter.
...
...
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