Saturday, March 28, 2009

Day 365... It has been a year

Today is the Day 365... That means I have been in Ruston for a year!!

Nothing much for today. Around noon we (Thai students) went to have lunch at Ronin Hibachi in Monroe. I was so glad because there was SUSHI!!

After lunch we went to Bao Bao to buy some food for International Day that will be held on Tuesday.


Sunday, March 22, 2009

Day 359... Rabbit VS Snake

Let's see who will win.




Saturday, March 21, 2009

Day 358...Wesley House Parties

เมื่อคืนมี Wesley House Parties กัน (คือ ประมาณว่าหลายๆ บ้านจัดปาร์ตี้แล้ว เราจะไปบ้านไหนก็ได้ แล้วแต่) เริ่มแรก แอชลี่มารับไปบ้านมาร์ซาก่อน ก็มีกินอะไรนิดหน่อย เจอโมยาดกับคริสตัลด้วย โมยาดทำขนมมา เป็นช็อกโกแลต แต่ไม่รู้เรียกอะไร คนอื่นๆ เลยเรียกว่า ช็อกโกแลตซูพรีมของโมยาด

There was Wesley House Parties last night. Ashley took me to Marcia's house. We hung out, met some new friends. Moayad and Krystle were there too. Moayad got us some chocolate that he had made. We (girls) called it Moyad's chocolate supreme.

เสร็จแล้วแอชลี่ก็พาไอ้เอ๋กับเมแกนไปบ้านจูลี่ต่อ บ้านจูลี่อยู่ใกล้สุสาน ถนนเส้นเดียวกับบ้านไอ้เอ๋ ตอนเข้าไปมีคนกำลังเล่นเกมกันอยู่ เรียกว่า Apples to Apples (เล่นยังไง กดอ่านที่ลิงค์เอาละกัน) ไอ้เอ๋ชนะตาเดียว แต่ก็สนุกดี

After that Ashley took Megan and me to Julie's house which is close to the grave yard and on the same street as mine. Many people were there. We played a card game called Apples to Apples. It was fun even though I won just once.

เสร็จแล้ว เดวิดก็พาไปบ้านเมแกนต่อ (คนละเมแกนกันกับข้างบน) ไปถึงที่นั่นกำลังเล่นเกม ประมาณว่าให้แต่ละคนเขียนหรือวาดอะไรก็ได้ลงในกระดาษ แล้วส่งต่อให้คนข้างๆ เขียนต่อ เขียนแบบขำๆ อะ :)

After left Julie's house, David and I walked to Megan's house. People there gathered in a room, sitting in a circle with pieces of paper and pens in their hands. Each of them wrote or drew something on the paper and passed it to the next one to write something and make it fun. :)


Wednesday, March 18, 2009

Day 355... Spring Time!

I have noticed these pretty flowers for a week. But just took the photos of them. :)

I took them in the afternoon. They sky was so clear that they looked very (too) bright.










Wednesday, March 11, 2009

Day 348... Postponed!

The CS qualifying exam has been postponed. How come? I would like to get it done as soon as possible so that I can do other things without worrying about it. T_T

By the way, it has been raining all day today. The weather is cooler of course. But I do not like to get wet.


Sunday, March 08, 2009

Day 345... It's Spring!

I got up late this morning. Around 8 a.m. It was the beginning of the daylight savings time. That means the time between here and Bangkok are 12 hours different. Though I try to catch the sun these days. Hear the birds sing in the morning. How sweet...

I just rambled. It was the effect of studying hard for the upcoming exam. T_T

The weather is hot though.


Wednesday, March 04, 2009

CUDA Timers vs Events

I just found the answer of the question why the times I got from CUDA timer are odd.

http://forums.nvidia.com/lofiversion/index.php?t72550.html


If you want to time the kernel accurately, use CUDA events. For example, look at the simpleStreams sample in the SDK to see how to use events for timing. Event API is described in the Programming Guide. Note that events are recorded on the GPU, so you'll be timing only GPU execution. The nice benefit is that clock resolution is the period of the GPU shader clock - you should get reliable timings even from a single kernel launch.

If you want to time operations including CPU involvement (like driver overhead), you should use your favorite CPU timer. Just make sure you understand the timer resolution. Also, as seibert pointed out, make sure to call cudaThreadSynchronize() before starting and then again before stopping the timer.

Do not ever use blocking CUDA calls (like memcopies) to achieve synchronicity - that will change your timings terribly.

Paulius


I should not have used the timer but should have used event handler... T_T


Tuesday, March 03, 2009

Day 340... Final!

Today is the last day of this quarter and I had a final. It was in dr. Choi class. Forget that horrible test... T_T

วันนี้วันสุดท้ายของควอร์เตอร์นี้ ไอ้เอ๋มีสอบวิชาของ ดร. ชอย ช่างมันเต๊อะ... T_T

I used the microwave rice cooker again this morning too. I added 1 cup of rice and 2 cups of water, let the rice soak up in the water for couple of hours and sticked it in the microwave for 11 minutes. I worked even it smelled a little odd. Do not know whether it was because of the rice or the cooker. Anyway just left it for a while and that smell would be gone.

เช้านี้ได้ใช้หม้อหุงข้าวไมโครเวฟอีกละ ใส่ข้าวสารถ้วยนึงกับน้ำสอง แล้วแช่ไว้สองสามชั่วโมง แล้วค่อยใส่ไมโครเวฟอีกสิบเอ็ดนาที ออกมาใช้ได้แฮะ ถึงจะมีกลิ่นประหลาดๆ หน่อย ซึ่งไม่รู้ว่ามาจากข้าวหรือหม้อ แต่พอปล่อยไว้ซักพักกลิ่นมันก็หายไป สรุปว่ากินได้