Posts

Showing posts from September, 2008

Terrific Love

Terrific Love missing u missing u makes me miss u, longing to love u.. makes me lose the moments of loving u. when i wanted to say u that I love u, we ended up fighting till i left u. But, when u were in deep sleep, I found myself dreaming, I was in your arms and dancing on your beats, the world was so peaceful, happiness was embracing me. Is that exactly what I wanted? I knew the answer of me. and I saw the smile on ur face and love in your eyes and isshhhhh..........u kissed me! every moment with u is precious, and your love , my Darling, is terrific ...

C++: const

const is trick to begin with ... this is what I found while working with it ... 1. References: They cannot be changed to point to some other object 2. Pointers: Can be changed to point to something else 1 class Foo { 2 int i; 3 public: 4 5 void doit (const Foo &that) { 6 that.i = i; //Error 7 } 8 void doit (Foo &that) { 9 that.i = i; //Okay 10 } 11 void doit (const Foo *that) { 12 that->i = i; //Error 13 that = this; //Okay 14 } 15 void doit (Foo * const that) { 16 that->i = i; //Okay 17 that = this; //Error 18 } 19 void doit (const Foo &that) { 20 i = that.i; //Okay 21 } 22 void doit (const Foo &that) const { 23 i = that.i; //Error 24 } 19 }; --Sorry about the alignment, I dont know a way as of now to correct this ... I guess it is readable though ! If someone already knows, let me know (how to preserve the formatting like we do in wiki) test2.cpp: In member function `void Foo::doit(const Foo&)': test2.cpp:6: error: assignment of data-member `Foo::i'

Lecture by Prof. Sanjay Patel, UIUC

Today I attended a lecture by Prof. Sanjay Patel, famous Prof in Comp Arch from UIUC... Crux: a 1000+ core architecture Motivation: Some real-time apps Main processor can delegate some work to it ! Implementation: As of now as a co-processor type thing, which has lots of threads, has a different program or thread model ! How did they come up with the design? Choose the benchmark apps ! Interestingly, to figure out implementation, fed these apps and some hardware parameters, like Issue Width: L1 Cache Size: L2 Cache Size: CPU Frequency etc To an optimizer, which then analyses these apps against these hardware choices : Result: a plot on the AREA vs Performance curve for each of these configs Final result choose the design that looks reasonable ! Then decision about the programming / thread model and SIMD vs MIMD model Again benchmark apps, analyze the dependency graphs for these apps ... You can use any tool like PIN easily to figure out this dependency graphs and things like RAW, WAW k

For new students at UT, Austin

New students who joined UT this fall, may have, by now, realized the amount of work in the classes and in general about the hectic life... Dont worry, you will get adjusted to it sooner than later .. Good Luck with that ! But I wanted to point out one important thing in this post for new students: About ECAC or the recruitment drive in ECE... Be sure to register for ECAC and submit your resumes to companies for Internships! You should also know that CS people have different governing body (for Natural Sciences, like ECAC for Engineering).. So be sure to keep in touch with that and submit your resume if you are interested in purely CS type (software related jobs).. You might wonder why dont you see yahoo, amazon and other purely software companies a lot in the ECAC fair ... They are more likely to be in the Natural Sciences fair than ECAC.. All the best for the internship search ! If you are in Austin, and want to learn driving and/or take driving lisence test, the best person for you i