Giter Site home page Giter Site logo

amamory-ampere / openmp-offloading Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.6 MB

repository to test the OpenMP offloading capabilities to an NVIDIA GPU

License: MIT License

Makefile 4.64% Cuda 3.93% C++ 22.65% C 68.56% CMake 0.21% Shell 0.02%
omp cuda heterogeneous-computing openmp openmp-offloading openmp-target

openmp-offloading's Introduction

Introduction

This is a repo used to save tests to check the use of OpenMP with GPU offloading. Since I had a new computing environment, 1st i checked it running CUDA examples, then I tested OpenMP examples for the host, and finally I tested OpenMP offloading (target omp keyword).

GPU monitors

Use them to 'see' the examples running.

  • nsight-sys: for GPU
  • stacer; for CPU

Used compilers

  • cuda examples: NVCC v10.2
  • openmp_host and openmp_gpu: Using clang 10, available in Ubuntu 18.04;

More information about the Clang compiler setup for GPU offloading is present in the dir openmp_gpu.

Dir contents

  • cuda examples: example used to test the cuda environment install. Gencode adapted to sm_30 (Quadro K4000). Check the makefiles for 'SMS' to replace Gencode for other GPUs.
  • openmp_host: examples used to test the openmp environment install. Using multithread capability;
  • openmp_gpu: examples used to test OpenMP with GPUs (target keyword).

References to build these tests

openmp-offloading's People

Contributors

amamory avatar

Stargazers

 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.