Presentation is loading. Please wait.

Presentation is loading. Please wait.

AES on GPU using CUDA Choi dae soon.

Similar presentations


Presentation on theme: "AES on GPU using CUDA Choi dae soon."— Presentation transcript:

1 AES on GPU using CUDA Choi dae soon

2 1. Install Enviroment Install dependencies
Ubuntu 11.04 CUDA 4.0 Install dependencies Sudo apt-get install build-essential gcc-4.4 g libxi-dev libxmu-dev freeglut3-dev Download toolkit, sdk, drivers Developer Drivers for Linux ( ) CUDA Toolkit for Ubuntu Linux 10.10 CUDA Tools SDK GPU Computing SDK code samples

3 1. Install Driver installation
Remove the current nvidia packages you might have installed Sudo apt-get remove nvidia-common nvidia-current Go to the text window Stop x ( sudo service gdm stop ) Remove the nouveau module Sudo apt-get –purge remove xserver-xorg-video-nouveau Restart x Sudo service gdm start Stop x Install driver Sudo sh file_name

4 1. Install Install toolkit, sdk, code samples Environmental variables
Sudo sh file_name Environmental variables Add the following in the .bashrc file of your home folder export CUDA_HOME="/usr/local/cuda” export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA_HOME}/lib" export PATH=${CUDA_HOME}/bin:${PATH} Run ldconfig as root for it to take effect source ~/.bashrc sudo ldconfig make nvcc use gcc/g++ version 4.4, for example, in home directory mkdir gcc44 cd gcc44 ln –s /usr/bin/cpp-4.4 cpp ln –s /usr/bin/gcc-4.4 gcc ln –s /usr/bin/g++4.4 g++

5 1. Install Edit /usr/local/cuda/bin/nvcc.profile
Compiler-bindir=/home/xxx/gcc44 Run make in NVIDIA_GPU_Computing_SDK/C cd ~/NVIDIA_GPU_Computing_SDK/C make Run sample code

6 2. Aes code implemetation
File Edit makefile

7 2. Aes code implemetation
Hardware enviroment

8 2. Aes code implemetation
Run aes


Download ppt "AES on GPU using CUDA Choi dae soon."

Similar presentations


Ads by Google