[llvm] [offload] fix compilation issue caused by #193233 (PR #194350)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 04:35:12 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-offload

Author: Ɓukasz Plewa (lplewa)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/194350.diff


1 Files Affected:

- (modified) offload/plugins-nextgen/amdgpu/src/rtl.cpp (+1-2) 


``````````diff
diff --git a/offload/plugins-nextgen/amdgpu/src/rtl.cpp b/offload/plugins-nextgen/amdgpu/src/rtl.cpp
index 6d55470d0211a..4e79138e5e8be 100644
--- a/offload/plugins-nextgen/amdgpu/src/rtl.cpp
+++ b/offload/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -3339,8 +3339,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
              DeviceInfo::DOUBLE_FP_CONFIG);
 
     // TODO: Use HSA_AGENT_INFO_FAST_F16_OPERATION to detect FP16 support.
-    Info.add("Half FP Support", ol_bool_t(false), "",
-             DeviceInfo::HALF_FP_SUPPORT);
+    Info.add("Half FP Support", false, "", DeviceInfo::HALF_FP_SUPPORT);
     Info.add("Half FP Capabilities", ol_device_fp_capability_flags_t{0}, "",
              DeviceInfo::HALF_FP_CONFIG);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/194350


More information about the llvm-commits mailing list