Coder Social home page Coder Social logo

intelworkshop's Introduction

Intel's Workshop

Welcome to our first ever workshop at the School of Enginreeing!

Overview

This project demonstrates the generation of a square wave using Fourier series approximation. It consists of a C++ program to calculate the wave and a Python script to plot the results.

Intel Dev Cloud

Here is help and guide on how to get started with Intel's Dev Cloud

Intel's Dev Cloud help

Prerequisites (for local development only)

  • CMake version 3.10 or higher
  • An installation of the Intel C++ Compiler (icpx)
  • Python 3.x with the following packages:
    • numpy
    • matplotlib

Building and Running the single threading c++ implementation

  1. log into your Intel devCloud and set up your project

    Start a new terminal Start a new terminal Clone the project

    git clone https://git.ecdf.ed.ac.uk/s2160679/intelworkshop.git

    clone

  2. Build your own single-threading implementation

    First, clone the repository to your Cloud environment and run the following command:

    cd c++Implementation
    mkdir build
    cd build
    cmake ..
    make run 
  3. Complete the SYCL implementation

    Go to the syclImplementation directory and complete the task and compare your result with the pre-compiled Syclexecutable in the answear directory

  4. Offload the SYCL to GPU and CPU

    Once you finished you can run your implementation on both GPU and CPU using the following command

    export ONEAPI_DEVICE_SELECTOR=*:cpu 
    or
    export ONEAPI_DEVICE_SELECTOR=*:gpu 

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.