Skip to content

Commit 5f17b3c

Browse files
committed
xe: jit: ir: address clang-tidy complaint
1 parent e734b08 commit 5f17b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpu/intel/jit/ir/ir.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ class stmt_flattener_t : public ir_visitor_t {
385385
class alloc_injector_t : public ir_mutator_t {
386386
public:
387387
alloc_injector_t(const stmt_t &root, const std::vector<stmt_t> &allocs)
388-
: allocs_(allocs) {
388+
: in_ctor_(true), allocs_(allocs) {
389389
for (auto &_a : allocs) {
390390
auto &a = _a.as<alloc_t>();
391391
if (a.kind != alloc_kind_t::global) gpu_assert(a.size > 0) << _a;

0 commit comments

Comments
 (0)