Add a lowering for sqrt from standard dialect to ROCDL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
70 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
Event Timeline
Comment Actions
Can you add a test?
mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp | ||
---|---|---|
118 | SqrtOp? |
Comment Actions
Fixed copy/paste bug.
mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp | ||
---|---|---|
118 | Oops, copy/paste bug. Thanks for catching this :) |
Comment Actions
Frederik, it looks like there was an error on Windows during the pre-merge checks. Does that look familiar to the one you saw? Do you know if this is for real?
Comment Actions
Ok, I just checked the recent presubmit results, and all seem to fail on Windows:
https://buildkite.com/llvm-project/premerge-checks/builds
So I think this is unrelated to my change :)
mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp | ||
---|---|---|
70–77 | Thanks for the pointer :) |
You may want to expose this like we did for NVVM here.
Can be a separate CL though