rocmarchive / realcaffe2

The repo is obsolete. Use at your own risk.
https://github.com/pytorch/pytorch
Apache License 2.0
12 stars 2 forks source link

Exposing MIOPEN to python scripts #68

Closed rohithkrn closed 6 years ago

rohithkrn commented 6 years ago

Is there a way to expose availability of MIOPEN to python scripts? Because, in places where CUDNN is specified as engine for the operators, it doesn't seem appropriate to check "has_hip" condition to specify MIOPEN as engine, since it misses the cases where hip is not present but MIOPEN is present. @petrex @ashishfarmer

petrex commented 6 years ago

The has_hip flag is currently interpreted as has_rocm; which implies we have all necessary libs for rocm software stack including miopen and others.

Pls keep on what you have been doing. We can have a one-time name change before upstream.

petrex commented 6 years ago

merge #77