This homework asks me to implement newton method with a relative fast calculation. In the beginning, I try to simply run my calculation with parallel calculation in C++; however, it takes around `23916.17` CPU time. Later, I use C++ with `blas` library, which allows me to implement newton method using matrix calculation. At the end,
Category: Junior (2013)
Computer Network Homework 2
In this project, there are receiver, agent, and sender, which have their own main cpp files but share some functionalities in file named `common.h`. The task of this project is to balance the transmission loading from sender to receiver through varied numbers of agents. The transmitted file can be any format of file, including `txt`,
Computer Network Homework 1
In this homework, I have three components: server, client, and executor. For server, I use `epoll` to ensure its ability to work with multiple clients. For client, I also use `epoll`, so that it can take care of the feedbacks from server as well as standard inputs at the same time. At the end, I
Computer Architecture Homework 6 (Bonus Report)
This is a bonus report for me. In this homework, I work on accelerate matrix calculation with `collapse` command; however, naive approaches will incur race condition. Thus, guarantees of the independent calculation of each block is very crucial in this task.
Computer Architecture Homework 4
In this homework, I am asked to examine the behavior of L1 and L2 caches under different settings, including comparisons between `bitcnts.x86` and `susan`, comparisons with different cache sizes, and comparisons between advanced optimizations.
Computer Architecture Homework 1
Some textbook exercises, which relates to instructions, cycles, ratios for computing time and routing time, simply assembly codes, and address calculations.
Recent Comments