2017-03-18 9 views
0
extern __host__ cudaError_t CUDARTAPI cudaMemcpy(void *dst, const void *src, size_t count, enum cudaMemcpyKind kind); 

/** 
* \brief Copies memory between two devices 
* 
* Copies memory from one device to memory on another device. \p dst is the 
* base device pointer of the destination memory and \p dstDevice is the 
* destination device. \p src is the base device pointer of the source memory 
* and \p srcDevice is the source device. \p count specifies the number of 
*/ 

上記のように、「\ p」はudaの説明にたくさんありますが、どういう意味ですか?ありがとうございます!cudaの説明には「 p」がたくさんあります

+0

私はそれをありがとう – sutongkui

答えて

5

あなたはそれらがコメントに含まれていることに気づくでしょうか?

「次は機能パラメータです」を識別する自動ドキュメントシステムのテキストキーです。

コメントセクションはコメントの後に続く関数プロトタイプに適用され、コメントに先行する関数プロトタイプには適用されないため、これを抜粋した方法も混乱します。

関連する問題