From 917416f6db7056cddff9d2a0e4e9b4117359157d Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 30 Mar 2023 12:50:02 -0700 Subject: More builtin library support in torch backend. (#2760) Co-authored-by: Yong He --- source/slang/slang-emit-c-like.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/slang/slang-emit-c-like.cpp') diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp index 08ba050db..166c131d5 100644 --- a/source/slang/slang-emit-c-like.cpp +++ b/source/slang/slang-emit-c-like.cpp @@ -2405,6 +2405,11 @@ void CLikeSourceEmitter::_emitInst(IRInst* inst) m_writer->emit(";\n"); break; + // Insts that needs to be emitted as code blocks. + case kIROp_CudaKernelLaunch: + emitInstStmtImpl(inst); + break; + case kIROp_LiveRangeStart: case kIROp_LiveRangeEnd: emitLiveness(inst); -- cgit v1.2.3