Community
cancel
Showing results for 
Search instead for 
Did you mean: 
qian_z_
Beginner
126 Views

dose the Intel Windows C++ compiler support the Microsoft C++ AMP ?

dose the Intel Windows C++ compiler support the Microsoft C++ AMP ?

 

1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(461): error : expected a ";"

1>          _Buffer_descriptor() __GPU
1>                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(581): error : expected a ";"
1>          _Texture_descriptor() __GPU
1>                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(733): error : expected a ";"
1>          _Sampler_descriptor() __GPU
1>                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3391): error : class "Concurrency::details::_Buffer_descriptor" has no member "_Get_buffer_ptr"
1>          return _Key->_Get_buffer_ptr()->_Get_access_async(_Key->_Get_view_key(), _Av, _Mode, _Buf_ptr);
1>                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3391): error : class "Concurrency::details::_Buffer_descriptor" has no member "_Get_view_key"
1>          return _Key->_Get_buffer_ptr()->_Get_access_async(_Key->_Get_view_key(), _Av, _Mode, _Buf_ptr);
1>                                                                  ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3397): error : class "Concurrency::details::_Buffer_descriptor" has no member "_Get_buffer_ptr"
1>          return _Descriptor._Get_buffer_ptr()->_Get_view_shape(_Descriptor._Get_view_key());
1>                             ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3397): error : class "Concurrency::details::_Buffer_descriptor" has no member "_Get_view_key"
1>          return _Descriptor._Get_buffer_ptr()->_Get_view_shape(_Descriptor._Get_view_key());
1>                                                                            ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3481): error : class "Concurrency::details::_Buffer_descriptor" has no member "_Get_buffer_ptr"
1>                  _Ubiquitous_buffer * _Tmp = _Get_buffer_desc()->_Get_buffer_ptr();
1>                                                                  ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3486): error : class "Concurrency::details::_Texture_descriptor" has no member "_Get_texture_ptr"
1>                  _Texture * _Tmp = _Get_texture_desc()->_Get_texture_ptr();
1>                                                         ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\amprt.h(3492): error : class "Concurrency::details::_Sampler_descriptor" has no member "_Get_sampler_ptr"
1>                  _Sampler * _Tmp = _Get_sampler_desc()->_Get_sampler_ptr();
1>                                                         ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(47): error : expected a "{"
1>                         unsigned int /* Miplevel */)  __GPU_ONLY;
1>                                                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(77): error : this declaration may not have extern "C" linkage
1>      template <typename _Value_type, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(80): error : this declaration may not have extern "C" linkage
1>      template <typename _Value_type, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(83): error : this declaration may not have extern "C" linkage
1>      template <int _Dim0, int _Dim1 = 0, int _Dim2 = 0>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(86): error : this declaration may not have extern "C" linkage
1>      template <int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(89): error : this declaration may not have extern "C" linkage
1>      template <int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(95): error : this declaration may not have extern "C" linkage
1>      template <int _Rank, int _Element_size>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(98): error : this declaration may not have extern "C" linkage
1>      template <int _Rank, int _Element_size>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(103): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(110): error : this declaration may not have extern "C" linkage
1>      template <typename _T, int _R>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(121): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(131): error : this declaration may not have extern "C" linkage
1>      template <typename _T, int _R>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(138): error : expected a ";"
1>          static typename _Projection_result_type<_T,_R>::_Const_result_type _Project0(const array_view<const _T,_R>* _Arr_view, int _I) __GPU;
1>                                                                                                                                         ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(141): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(147): error : expected a ";"
1>          static typename _Projection_result_type<_T,1>::_Const_result_type _Project0(const array_view<const _T,1>* _Arr_view, int _I) __GPU;
1>                                                                                                                                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(150): error : this declaration may not have extern "C" linkage
1>      template <typename _T, int _R>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(157): error : expected a ";"
1>          static typename _Projection_result_type<_T,_R>::_Result_type _Project0(const array_view<_T,_R>* _Arr_view, int _I) __GPU;
1>                                                                                                                             ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(160): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(166): error : expected a ";"
1>          static typename _Projection_result_type<_T,1>::_Result_type _Project0(const array_view<_T,1>* _Arr_view, int _I) __GPU;
1>                                                                                                                           ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(169): error : this declaration may not have extern "C" linkage
1>      template <typename _T, int _R>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(176): error : expected a ";"
1>          static typename _Projection_result_type<_T,_R>::_Const_result_type _Project0(const array<_T,_R>* _Array, int _I) __GPU;
1>                                                                                                                           ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(179): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(185): error : expected a ";"
1>          static typename _Projection_result_type<_T,1>::_Const_result_type _Project0(const array<_T,1>* _Array, int _I) __GPU;
1>                                                                                                                         ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(188): error : this declaration may not have extern "C" linkage
1>      template <typename _T, int _R>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(195): error : expected a ";"
1>          static typename _Projection_result_type<_T,_R>::_Result_type _Project0(_In_ array<_T,_R>* _Array, int _I) __GPU;
1>                                                                                                                    ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(198): error : this declaration may not have extern "C" linkage
1>      template <typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(204): error : expected a ";"
1>          static typename _Projection_result_type<_T,1>::_Result_type _Project0(_In_ array<_T,1>* _Array, int _I) __GPU;
1>                                                                                                                  ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(213): error : this declaration may not have extern "C" linkage
1>      template<class _Tuple_type>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(214): error : expected a ";"
1>      _Tuple_type _Create_uninitialized_tuple() __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(250): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank = _T::rank, bool _Unroll = (_Rank > 1 && _Rank <= LOOP_UNROLL_THRESHOLD)>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(253): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank = _T::rank, bool _Unroll = (_Rank > 1 && _Rank <= LOOP_UNROLL_THRESHOLD)>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(256): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank = _T::rank, bool _Unroll = (_Rank > 1 && _Rank <= LOOP_UNROLL_THRESHOLD)>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(259): error : this declaration may not have extern "C" linkage
1>      template<typename _T, int _Rank = _T::rank, bool _Unroll = (_Rank > 1 && _Rank <= LOOP_UNROLL_THRESHOLD)>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(263): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(266): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(269): error : expected a ";"
1>          static bool func(const _T & a, const _T & b) __GPU { return a == b; }
1>                                                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(272): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(275): error : expected a ";"
1>          static bool func(const _T & a, const _T & b) __GPU { return a != b; }
1>                                                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(278): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(281): error : expected a ";"
1>          static bool func(const _T & a, const _T & b) __GPU { static_assert(_Falsifier<_T>::value, "invalid op"); return false;}
1>                                                       ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(285): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(288): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(291): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a = b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(294): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(297): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a += b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(300): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(303): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a -= b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(306): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(309): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a *= b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(312): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(315): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a /= b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(318): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(321): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { a %= b; }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(324): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(327): error : expected a ";"
1>          static void func(_T & a, const _T & b) __GPU { static_assert(_Falsifier<_T>::value, "invalid op"); }
1>                                                 ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(331): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(334): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(337): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { a = b + c; }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(340): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(343): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { a = b - c; }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(346): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(349): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { a = b * c; }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(352): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(355): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { a = b / c; }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(358): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(361): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { a = b % c; }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(364): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(367): error : expected a ";"
1>          static void func(_T & a, const _T & b, const _T & c) __GPU { static_assert(_Falsifier<_T>::value, "invalid op"); }
1>                                                               ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(373): error : this declaration may not have extern "C" linkage
1>      template<typename _T1>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(377): error : expected a ";"
1>          static typename _T1::value_type func(const _T2 & a, int i) __GPU
1>                                                                     ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(400): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(403): error : expected a ";"
1>          static bool func(const _T& a, const _T& b) __GPU
1>                                                     ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(409): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(412): error : expected a ";"
1>          static bool func(const _T& a, const _T& b) __GPU
1>                                                     ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(421): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(424): error : expected a ";"
1>          static bool func(const _T& a, const _T& b) __GPU
1>                                                     ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(437): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(441): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(447): error : this declaration may not have extern "C" linkage
1>      template<typename _T, _op_kind _Kind, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(451): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(458): error : this declaration may not have extern "C" linkage
1>      template<_op_kind _Kind,  typename _T, int _Rank>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(462): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(472): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(476): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(487): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(491): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(504): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(508): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(523): error : this declaration may not have extern "C" linkage
1>      template<typename _T>
1>      ^
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xxamp.h(527): error : expected a ";"
1>          static void func(_T& a, const _T2& b) __GPU
1>                                                ^
1>

 

 

 

 

 

0 Kudos
1 Reply
Melanie_B_Intel
Employee
126 Views

No, Microsoft AMP isn't supported.  Currently we're recommending Intel TBB and OpenMP as parallel solutions, see https://software.intel.com/en-us/forums/intel-cilk-plus/topic/745556

Reply