atomic_fetch_xor 関数 (C++ AMP)
アトミックに peforms 値とメモリ位置のビットごとのな XOR 操作。
inline int atomic_fetch_xor(
_Inout_ int * _Dest,
int _Value
) restrict(amp);
inline unsigned int atomic_fetch_xor(
_Inout_ unsigned int * _Dest,
unsigned int _Value
) restrict(amp);
パラメーター
_Dest
メモリ位置へのポインター。_Value
XOR の計算に使用する値。
戻り値
メモリ位置の元の値。
必要条件
ヘッダー: amp.h
名前空間: Concurrency