Support std::complex for hip-clang

Este cometimento está contido em:
Yaxun (Sam) Liu criou e Yaxun Sam Liu cometeu 2018-07-18 00:08:04 -04:00
1 ascendente 502ce06dda
cometimento 80438035c2
4 ficheiros modificados
+631 -268

Não existem ficheiros que correspondam à sua pesquisa

+10
Ver ficheiro
@@ -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
+451 -264
Ver ficheiro
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande. Carregar diff