Coder Social home page Coder Social logo

parallel-computing's Introduction

Parallel Computing Library Test

Parallel computing can speed up our programme. From data parallel to process parallel, there are many parallel tool and way that we can use. The project include The Parallel Patterns Library (PPL), Open Multi-Processing (OpenMP) and Open Computing Language (OpenCL) test examples. More details can be found in my blog

To use the cpp files, you only need to establish the different Visual Studio projects and compile them respectively. The configurations are sa follows:

PPL

  • Add header #include <ppl.h>

OpenMP

  • Add header #include<omp.h>
  • Turn on the OpenMP in configuration Property~C/C++~Language~OpenMP Support~Yes

OpenCL

  • Add header #include <CL/cl.h>
  • The header files and library files can be found in CUDA tool kit, so add the additional include directory as follows(my configuration, you can look for your tool kit path):
    • Property~C/C++~Regular~additional include directory~D:\NVIDIA\CUDA\CUDAToolkit\include
    • Property~Linker~Regular~additional library directory~D:\NVIDIA\CUDA\CUDAToolkit\lib\x64
    • Property~Linker~Import~additional dependencies~OpenCL.lib

parallel-computing's People

Contributors

championli 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.