Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Thrust アルゴリズムの cudaFuncCachePreferShared/cudaFuncCachePreferL1 を切り替えるにはどうすればよいですか?
PSそして、あなたが知っているなら、MS VS 2010でコンパイルフラグを指定してcudaのL1キャッシュをオフにする方法、どこに書く必要がありますか(-Xptxas -dlcm = cg)?
ランタイム関数を使用してcudaFuncSetCacheConfig、L1キャッシュまたは共有メモリのプリファレンスを設定できます。
cudaFuncSetCacheConfig