Return the kernel's CompiledModule cache slot, creating an empty one on first access.
(self)
| 1714 | del self._compiled_module |
| 1715 | |
| 1716 | def cachedCompiledModule(self): |
| 1717 | """Return the kernel's CompiledModule cache slot, creating an empty |
| 1718 | one on first access.""" |
| 1719 | if not hasattr(self, '_compiled_module'): |
| 1720 | self._compiled_module = cudaq_runtime.CompiledModule() |
| 1721 | return self._compiled_module |
| 1722 | |
| 1723 | @trace.traced |
| 1724 | def compile(self): |
no test coverage detected