[HIPIFY][tests] caffe2 test fix

[ROCm/clr commit: 9c000f4b57]
Этот коммит содержится в:
Evgeny Mankov
2019-02-25 17:12:32 +03:00
родитель a163e01be3
Коммит 7d96cc8b63
+1 -2
Просмотреть файл
@@ -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 {}
};