Code Monkey home page Code Monkey logo

cp-project's Introduction

Project of Parallel Computing

Álvaro Freixo - 93116

Rita Ferrolho - 88822

###################
## generic files ##
###################

# compile openMP, CUDA global and CUDA shared. CUDA files have to be compiled and executed on banana server. 
make

# execute openMP file.
./harrisDetectorOpenMP

# execute CUDA global. Needs to be executed on banana server.
./harrisDetectorCuda

# execute CUDA shared. Needs to be executed on banana server.
./harrisDetectorCudaShared

# compare images
./testDiffs -i imgInput -o imgOutput -r imgReference


################
## test files ##
################

# generate different OpenMP .c files, compile them, and compare generated images.
python test_generateOpenMPfiles.py

# calculate efficiency of each OpenMP test, store them in a table.
python resultsOpenMP.py

# generate different CUDA global files, compile them, and compare generated images. Needs to be executed on banana server.
python tests_generateCudaScripts.py

# calculate efficiency of each CUDA global test, store them in a table.
python resultsCuda.py

# generate different CUDA shared files, compile them, and compare generated images. Needs to be executed on banana server.
python tests_generateCudaSharedScripts.py

# calculate efficiency of each CUDA shared test, store them in a table.
python resultsCudaShared.py


#####################
## banana commands ##
#####################

# access banana server 
ssh [email protected]

# transfer files or directories from local to banana
scp [-r] 'local/path' [email protected]:'./server/path'

# transfer files or directories from banana to local
scp [-r] [email protected]:/server/path './local/path'

cp-project's People

Contributors

marfre22 avatar ritamf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.