[PATCH] D93638: [hip] Enable HIP compilation with `<complex`> on MSVC.

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 12:36:22 PST 2021


yaxunl added inline comments.


================
Comment at: clang/lib/Headers/cuda_wrappers/ymath.h:16
+
+#pragma clang force_cuda_host_device begin
+
----------------
I am wondering whether we only want to do this for windows, since ymath.h may be an ordinary users' header file on linux.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93638



More information about the cfe-commits mailing list