MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / deserializeModule

Function deserializeModule

lib/Bytecode/Translation/BytecodeTranslation.cpp:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23//===----------------------------------------------------------------------===//
24
25static OwningOpRef<Operation *> deserializeModule(llvm::StringRef bytecodeStr,
26 MLIRContext *context) {
27 llvm::MemoryBufferRef bytecodeBufferRef(bytecodeStr,
28 "deserializeModuleBuffer");
29 auto dialect = context->getOrLoadDialect<CudaTileDialect>();
30 dialect->setWarnUnsupportedHints(getWarnUnsupportedHints());
31 dialect->setErrorOnHints(getErrorUnsupportedHints());
32 return readBytecode(bytecodeBufferRef, *context);
33}
34
35static void registerFromTileIRBytecodeTranslation() {
36 TranslateToMLIRRegistration fromBytecode(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected