Home
last modified time | relevance | path

Searched refs:kernelModule (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DKernelOutlining.cpp257 auto kernelModule = createKernelModule(outlinedFunc, symbolTable); in runOnOperation() local
258 symbolTable.insert(kernelModule, insertPt); in runOnOperation()
289 auto kernelModule = cast<gpu::GPUModuleOp>(Operation::create(state)); in createKernelModule() local
290 SymbolTable symbolTable(kernelModule); in createKernelModule()
311 return kernelModule; in createKernelModule()
/external/llvm-project/mlir/tools/mlir-spirv-cpu-runner/
Dmlir-spirv-cpu-runner.cpp58 std::unique_ptr<llvm::Module> kernelModule = in convertMLIRModule() local
64 llvm::Linker::linkModules(*mainModule, std::move(kernelModule)); in convertMLIRModule()
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dkernel_lowering.cc272 auto kernelModule = ::mlir::ModuleOp::create(module.getLoc()); in ExtractKernelModule() local
274 module.walk([&kernelModule](mlir::gpu::GPUModuleOp nestedModule) { in ExtractKernelModule()
276 kernelModule.push_back(fn.clone()); in ExtractKernelModule()
279 return kernelModule; in ExtractKernelModule()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertLaunchFuncToRuntimeCalls.cpp586 auto kernelModule = SymbolTable::lookupNearestSymbolFrom<gpu::GPUModuleOp>( in matchAndRewrite() local
588 assert(kernelModule && "expected a kernel module"); in matchAndRewrite()
591 kernelModule->getAttrOfType<StringAttr>(gpuBinaryAnnotation); in matchAndRewrite()
593 kernelModule.emitOpError() in matchAndRewrite()
598 SmallString<128> nameBuffer(kernelModule.getName()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp95 auto kernelModule = module.lookupSymbol<GPUModuleOp>(kernelModuleName); in verifyOperationAttribute() local
96 if (!kernelModule) in verifyOperationAttribute()
437 auto kernelModule = kernelFunc->getParentOfType<GPUModuleOp>(); in build() local
439 kernelModule.getName(), {builder.getSymbolRefAttr(kernelFunc.getName())}); in build()