[PATCH] D60220: [CUDA][Windows] Final fix for bug 38811 (Step 3 of 3)

Evgeny Mankov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 11:08:35 PDT 2019


emankov added a comment.

>> It looks like CUDA doesn't support `double` argument for device function __isnan on FreeBSD.
> 
> It's actually the opposite -- FreeBSD does not provide *host*-side `__isnan(double)` -- the error complains that it's the host code that tried to use `__isnan` and failed when overload resolution produced a device variant.

Sure, you right, quite opposite: `call to __device__ function from __host__ function`. I agree: the wrapper for the existing `__inline_isnan()` is the solution.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60220/new/

https://reviews.llvm.org/D60220





More information about the cfe-commits mailing list