Posts

Showing posts from July, 2018

How to install GEM5 Simulator in ubuntu

Image
Hello Friends Today I would list the steps and Instructions to install GEM5 Simulator on ubuntu. GEM5 Simulator is one of the popular simulator for simulating Computer-Architecture and Experimenting some research stuff. STEPS: 1.  First of all you will need to install some dependencies such as git,scons.... you can install all in one go by using the below command: sudo apt install build-essential git m4 scons zlib1g zlib1g-dev libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev python-dev python 2. After that you need to clone/download the officaial GEM5 repository: git clone https://gem5.googlesource.com/public/gem5 3. After that you can build GEM5 using the below command by going into the downloaded/cloned directory. scons build/X86/gem5.opt -j9 4.  You are ready to run and experment with GEM5, you can find the results in the m5out Directory. and whenever you make any change in the code you need ot build GEM5 again with...

Matrix Multiplication using Tiling Method

Image
Execution Time for Matrix multiplication can be improved by using a tile method which is based on dividing the matrix/2D array into smaller sub matrices/Tiles and then multiplying each of the tile in manner as shown below: The 2D arrays must be Square Matrices of same size in order of power of 2. Implementation in C++: for(int i_=0;i_<N;i_+=tile) { for(int j_=0;j_<N;j_+=tile) { for(int k_=0;k_<N;k_+=tile) {     for(i=i_; i<i_+tile; ++i){                for(j=j_; j<j_+tile; ++j){                           for(k=k_; k<k_+tile; ++k){                       P[j][i] += A[j][k]*B[k][i];                   }               }       }       }     ...

Computer Architecture Summer School IIT Kanpur 2018 Experience

Image
Hello Friends, Currently I am in IIT Kanpur for Summer School on Computer Architecture which got started from 2nd July 2018.The Summer School is sponsored by IIT kanpur, Intel and AMD,  I am enjoying the Lectures which are delivered by Top Professors of the various reputed Institutes. I had course on Computer Organisation in my second semester, I highly enjoyed the course. So I thought of broadening my knowledge in the subject by attending the Summer School. The first lecture of CASS itself was a very motivating one, I got to understand some important ideas which revolutionised the field of Architecture. The Summer School went very well and I learnt a lot during that period,  I also made some friends from various Institutes.  I would specially like to thank Biswa Sir for all the support he had provided to us from the time of application to the time we stayed here at IIT kanpur. Everything went smooth and clear. Thank You!