Home
last modified time | relevance | path

Searched refs:gpu_module (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dgpu_kernel_to_blob_pass.cc67 mlir::gpu::GPUModuleOp gpu_module = getOperation(); in runOnOperation() local
68 auto blob_or = GetGpuBinaryBlob(gpu_module); in runOnOperation()
72 gpu_module->setAttr(blob_annotation_, in runOnOperation()
77 gpu_module.emitError(blob_or.status().error_message()); in runOnOperation()
82 mlir::gpu::GPUModuleOp gpu_module) { in GetGpuBinaryBlob() argument
93 auto llvmModule = mlir::translateModuleToLLVMIR(gpu_module, llvmContext); in GetGpuBinaryBlob()
196 << gpu_module.getName() << "' on architecture sm_" << arch in GetGpuBinaryBlob()
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dpasses.cc253 auto gpu_module = kernel->getParentOfType<mlir::gpu::GPUModuleOp>(); in runOnFunction() local
254 mlir::OpBuilder kernel_builder(gpu_module.body()); in runOnFunction()