Skip to content

Matrix multiplication with OmpSs and Intel SGX

Notifications You must be signed in to change notification settings

legato-project/matmul-sgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Purpose of matmul-sgx

This project consists of a parallel and secure version of the multiplication multiplication problem. I performes the multiplication of two matrices (A and B) into a third one (C). Parallelization is achived using OmpSs Programming Model and security is assured by means of Intel SGX.


How to Build/Execute

  1. Install OmpSs
  2. Install Intel(R) SGX SDK for Linux* OS
  3. Make sure your environment is set:
    $ export TARGET=$HOME/ompss
    $ source ${sgx-sdk-install-path}/environment
    
  4. Build the project with the prepared Makefile:
    1. Hardware Mode, Debug build:
      $ make
      
    2. Hardware Mode, Pre-release build:
      $ make SGX_PRERELEASE=1 SGX_DEBUG=0
      
    3. Hardware Mode, Release build:
      $ make SGX_DEBUG=0
      
    4. Simulation Mode, Debug build:
      $ make SGX_MODE=SIM
      
    5. Simulation Mode, Pre-release build:
      $ make SGX_MODE=SIM SGX_PRERELEASE=1 SGX_DEBUG=0
      
    6. Simulation Mode, Release build:
      $ make SGX_MODE=SIM SGX_DEBUG=0
      
  5. Execute the binary directly:
    $ ./app
    
  6. Remember to "make clean" before switching build mode

About

Matrix multiplication with OmpSs and Intel SGX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.0%
  • Makefile 13.6%
  • C 8.4%