[HIPIFY][tests] caffe2 test fix

[ROCm/hip commit: 3a8ef9c8a2]
Cette révision appartient à :
Evgeny Mankov a révisé 2019-02-25 17:12:32 +03:00
1 Parent 1e879f1c85
révision 5f4b9a8f8f
1 fichier modifié
+1 -2
+1 -2
Voir le fichier
@@ -65,8 +65,7 @@ template <class Context>
class Operator : public OperatorBase {
public:
explicit Operator(const OperatorDef& operator_def, Workspace* ws)
: OperatorBase(operator_def, ws), context_(operator_def.device_option()) {
context_.SwitchToDevice();
: OperatorBase(operator_def, ws) {
}
~Operator() noexcept override {}
};