作者查詢 / proLIONS
作者 proLIONS 在 PTT [ C_and_CPP ] 看板的留言(推文), 共28則
限定看板:C_and_CPP
看板排序:
全部LA49SanFrancisco33C_and_CPP28Softball21Google19STDM-91-30419Oversea_Job17KangYung12cookclub9Gossiping6studyabroad6Lions5CPBL4HotBloodYuan4NTUE-CS-SB4TY_Research3ComeHere2EarthScience2lab6212PhD2Aussiekiwi1fastfood1GossipPicket1handsomechef1IntlShopping1PttHistory1Sabermetrics1SkiSnowboard1TTU-US941VET_961VISA1wretch1Yon1<< 收起看板(33)
10F→:看起來是有cache locality的問題08/14 18:05
11F→:omp for放在j的時候threads寫到一段連續的區塊08/14 18:06
12F→:omp for放在i的時候thread寫的位置錯開08/14 18:07
13F→:如果離得夠遠不在同一條cache line上就會影響效能08/14 18:08
14F→:asm code應該不容易看出來 尤其你又開O208/14 18:08
1F→:top returns a reference to the top element in th03/29 04:40
2F→:stack. if there's nothing in the stack, the behavior03/29 04:41
3F→:is undefined.03/29 04:41
37F→:跑出5最有可能是b被optimized掉了03/04 06:03
38F→:b is not changed so some compilers will remove it03/04 06:04
1F→:apply the same strategy to i btw..02/26 07:31
5F→:有試過宣告成global variable然後給非零初值嗎?01/30 08:51
6F→:global variable理論上會被放在data segment而不是stack01/30 08:52
7F→:就不會有stack limit的問題 不過code size會變大01/30 08:52
2F→:呃 沒有時間概念怎麼算時間差...01/19 17:43
3F→:讓user隨便點螢幕幾下用座標當seed?01/19 17:44
13F→:try to print "1 << i" in every iteration and u'll see01/04 04:49
12F→:你需要的是NDIS API http://goo.gl/paWN11/03 03:44
13F→:open source examples不少 只好推一下我(曾經)寫過的11/03 03:45
14F→:WIRE1x = =...http://wire.cs.nctu.edu.tw/wire1x/11/03 03:45
15F→:直接把MSDN的OID丟進code去撈就能撈到相關的code11/03 03:46
16F→:大致上就是你需要set/get ndis oid然後自己parse results11/03 03:47
4F→:其實只是word雞婆自己把首字轉大寫10/18 13:06
1F→:you should use **a instead of *a09/18 12:50
2F→:you may think of **a as something like *a[]09/18 12:51