diff options
| author | Yong He <yonghe@outlook.com> | 2023-03-30 12:50:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-30 12:50:02 -0700 |
| commit | 917416f6db7056cddff9d2a0e4e9b4117359157d (patch) | |
| tree | 9bd6aa89f235e4692cff83cdbe1ce4aae7ea861f /source/slang/slang-emit-c-like.cpp | |
| parent | e3b701c9f56f4a2fb8c56a65b5c75b49ee72ca73 (diff) | |
More builtin library support in torch backend. (#2760)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit-c-like.cpp')
| -rw-r--r-- | source/slang/slang-emit-c-like.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
