Caffe2 - Python API
A deep learning, cross platform ML framework
Packages
Classes
Files
C++ API
Python API
GitHub
File List
tools
setup_helpers
miopen.py
1
import
os
2
import
glob
3
4
from
.env
import
IS_WINDOWS, IS_CONDA, CONDA_DIR, check_env_flag, gather_paths
5
from
.rocm
import
USE_ROCM, ROCM_HOME
6
7
8
USE_MIOPEN =
False
9
MIOPEN_LIB_DIR =
None
10
MIOPEN_INCLUDE_DIR =
None
11
MIOPEN_LIBRARY =
None
12
if
USE_ROCM
and
not
check_env_flag(
'NO_MIOPEN'
):
13
USE_MIOPEN =
True
14
MIOPEN_LIB_DIR = ROCM_HOME +
"/miopen/lib"
15
MIOPEN_INCLUDE_DIR = ROCM_HOME +
"/miopen/include/miopen"
16
MIOPEN_LIBRARY =
"MIOpen"
17
MIOPEN_FOUND =
"True"
Generated on Thu Mar 21 2019 13:06:37 for Caffe2 - Python API by
1.8.11