Merge pull request #543 from ROCm-Developer-Tools/add-std-complex

Support std::complex for hip-clang
このコミットが含まれているのは:
Maneesh Gupta authored and GitHub committed 2018-07-19 07:14:45 +05:30
コミット 5632faf928
4ファイル変更
+631 -268

検索条件に一致するファイルはありません

+10
ファイルの表示
@@ -440,6 +440,16 @@ extern const __device__ __attribute__((weak)) __hip_builtin_gridDim_t gridDim;
#include <hip/hcc_detail/math_functions.h>
// Support std::complex.
#pragma push_macro("__CUDA__")
#define __CUDA__
#include <__clang_cuda_math_forward_declares.h>
#include <__clang_cuda_complex_builtins.h>
#include <cuda_wrappers/algorithm>
#include <cuda_wrappers/complex>
#undef __CUDA__
#pragma pop_macro("__CUDA__")
#endif
#endif // HIP_HCC_DETAIL_RUNTIME_H
ファイル差分が大きすぎるため表示されません。 差分を読み込み