We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e734b08 commit 5f17b3cCopy full SHA for 5f17b3c
src/gpu/intel/jit/ir/ir.cpp
@@ -385,7 +385,7 @@ class stmt_flattener_t : public ir_visitor_t {
385
class alloc_injector_t : public ir_mutator_t {
386
public:
387
alloc_injector_t(const stmt_t &root, const std::vector<stmt_t> &allocs)
388
- : allocs_(allocs) {
+ : in_ctor_(true), allocs_(allocs) {
389
for (auto &_a : allocs) {
390
auto &a = _a.as<alloc_t>();
391
if (a.kind != alloc_kind_t::global) gpu_assert(a.size > 0) << _a;
0 commit comments