以下將示範:
1.在std::vector裡面建立好資料結構
(請視個人需求自行建立vector,以下以自訂的class為例)
2.以建好的資料初始一個新的thrust::device_vector
holmes310524 發表在 痞客邦 留言(0) 人氣(284)
附上本周投影片
http://www.slideshare.net/holmes310524/20140109
comment by ctchiu
holmes310524 發表在 痞客邦 留言(0) 人氣(6)
相關範例及內容參考 http://ivanlife.wordpress.com/2011/05/09/time-cuda/
本篇介紹使用cudaEvent的方式
其他用法請參考上述網址
holmes310524 發表在 痞客邦 留言(0) 人氣(2,074)
參考 http://devblogs.nvidia.com/parallelforall/using-shared-memory-cuda-cc/
關於更多shared memory的用法請參考上述網址
holmes310524 發表在 痞客邦 留言(0) 人氣(595)