[PATCH] D104677: [OpenMP][AMDGCN] Apply fix for isnan, isinf and isfinite for amdgcn.
Ethan Stewart via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 23 07:05:16 PDT 2021
estewart08 added inline comments.
================
Comment at: clang/test/Headers/hip-header.hip:21
+// RUN: -target-cpu gfx906 -emit-llvm %s -fcuda-is-device -o - \
+// RUN: -D__HIPCC_RTC__ -DUSE_ISNAN_WITH_INT_RETURN | FileCheck %s -check-prefixes=AMD_INT_RETURN
+// RUN: %clang_cc1 -include __clang_hip_runtime_wrapper.h \
----------------
yaxunl wrote:
> where is this macro used and how does it affect HIP? Thanks.
https://github.com/ROCm-Developer-Tools/llvm-project/blob/main/clang/test/Headers/Inputs/include/cmath#L85
For testing purposes we can enable certain return types for isnan.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104677/new/
https://reviews.llvm.org/D104677
More information about the cfe-commits
mailing list