Skip to content

Commit db5fabf

Browse files
tlemokevinstephano
authored andcommitted
Fix ReplaceExprsInScope (#101)
Fix for issue #88
1 parent 3ab9c4b commit db5fabf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

torch/csrc/jit/codegen/cuda/ir_base_nodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class TORCH_CUDA_API Val : public Statement {
261261
const DataType dtype_;
262262
};
263263

264-
class TORCH_CUDA_API Scope {
264+
struct TORCH_CUDA_API Scope {
265265
public:
266266
Scope() = default;
267267
Scope(const Scope* src, IrCloner* ir_cloner);

torch/csrc/jit/codegen/cuda/lower_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class CloneLoopNest : public OptOutMutator {
199199
}
200200
};
201201

202-
class ReplaceExprsInScope : public OptOutDispatch {
202+
struct ReplaceExprsInScope : public OptOutDispatch {
203203
public:
204204
static void replace(
205205
Expr* scope,

0 commit comments

Comments
 (0)