[mlir][target][nvvm] Perf by stage and store into properties (#126178)
Implement the feature about perf by stage(llvm-ir -> isa, isa->binary). The results will be stored into the properties, then users can use them after using GpuModuleToBinary Pass.
This commit is contained in:
@@ -82,5 +82,5 @@ module attributes {gpu.container_module} {
|
||||
print(gpu.CompilationTarget(o.format))
|
||||
# CHECK: b'//\n// Generated by LLVM NVPTX Back-End{{.*}}'
|
||||
print(o.object)
|
||||
# CHECK: {O = 2 : i32}
|
||||
# CHECK: {LLVMIRToISATimeInMs = {{[0-9]+}} : i64, O = 2 : i32}
|
||||
print(o.properties)
|
||||
|
||||
Reference in New Issue
Block a user