File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class GenSerializer : public SerializeGPUModuleBase {
105
105
gpu::GPUModuleOp getOperation ();
106
106
107
107
std::optional<SmallVector<char , 0 >>
108
- compileToBinary (const std::string &serializedISA );
108
+ compileToBinary (const std::string &serializedSPV );
109
109
110
110
std::optional<SmallVector<char , 0 >>
111
111
moduleToObject (llvm::Module &llvmModule) override ;
Original file line number Diff line number Diff line change @@ -49,13 +49,8 @@ class GENDialectLLVMIRTranslationInterface
49
49
auto func = dyn_cast<LLVM::LLVMFuncOp>(op);
50
50
if (!func)
51
51
return failure ();
52
- llvm::LLVMContext &llvmContext = moduleTranslation.getLLVMContext ();
53
- llvm::Function *llvmFunc = moduleTranslation.lookupFunction (func.getName ());
54
-
55
- if (attribute.getName () == gen::GENDialect::getKernelFuncAttrName ()) {
56
- // todo; note: migth not need it as we'll have storage classes translated
57
- // already
58
- }
52
+ // todo; note: migth not need it as we'll have storage classes translated
53
+ // already
59
54
60
55
return success ();
61
56
}
You can’t perform that action at this time.
0 commit comments