"Introduction to High Performance Computing for Scientists and Engineers"  is the book !!

 

hedgezzz 發表在 痞客邦 留言(0) 人氣()

假設你有四個 thread 要去計算一些數據,然後 sum 起來給 global 變數:sum4 ,

你會使用哪些方法 ?

hedgezzz 發表在 痞客邦 留言(0) 人氣()

class Mars
{

hedgezzz 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:just 2 words
  • 請輸入密碼:

https://github.com/0xmalloc/c-log

 

hedgezzz 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:just 2 words
  • 請輸入密碼:

http://hedgezzz.pixnet.net/blog/post/27667546

這裡使用的 hash table 運用在台股代碼 array , 共有 12957 筆資料 , 看要找某一個代碼的 array index

hedgezzz 發表在 痞客邦 留言(2) 人氣()

一支小小的 semaphore 程式

sem1.cpp

hedgezzz 發表在 痞客邦 留言(0) 人氣()

template<class T>
void swap_elems(T& lhs, T& rhs)

hedgezzz 發表在 痞客邦 留言(0) 人氣()

http://oopscenities.net/2012/04/30/c-sfinae/

template <typename T>

hedgezzz 發表在 痞客邦 留言(0) 人氣()