C ++ AMP x64 '_ Access':找不到标识符

C ++ AMP x64 ‘_ Access’:找不到标识符

参考:Microsoft开发者社区https://developercommunity.visualstudio.com/content/problem/200035/c-amp-does-not-compile-with-permissive.html
amp.h中

2616行:

_Value_type&operator()(const index <_Rank>&Index)const _GPU 
{ 
void * _Ptr = this-> _Access(_Read_write_access,_Index); 
return reinterpret_cast <_Value_type >(_ Ptr); 
}

和3462行

const _Value_type&operator()(const index <_Rank>&Index)const _GPU 
{ 
void * _Ptr = this-> _Access(_Read_access,_Index); 
return reinterpret_cast <value_type >(_ Ptr); 
}

猜你喜欢

转载自blog.csdn.net/weijiancheng999/article/details/88063018