Giter Site home page Giter Site logo

awg-on-gpu's Introduction

AWG_on_GPU

Arbitrary waveform generation on a GPU using the additive synthesis framework for waveform synthesis

Overview

This is a software achitecture for real-time arbitrary waveform generation based on a CUDA GPU and PCIe DAC module, allowing for a high throughput static waveform generation as well as a flexible and low-latecy computation of complex waveforms.

Currently this project is implemented with two pathways of generating dynamic waveforms with chirping tones.

Hardware and Environment

The program only runs on a Linux system and requires a NVIDIA GPU and a PCIe interfaced DAC card both with GPUDirect RDMA support.

First install NVIDIA CUDA Tool Kit, CUDA Driver, and Open GPU Kernel Modules following guide here, or following the guide provided by your DAC vendor. Remember to disable IOMMU to avoid RDMA errors; you should be able to do that in your BIOS setting.

The DAC we used is theSpectrum Instrumentation M4i.6622-x8, whose driver includes are included in the folder spcm_header. The drivers and their installation guide could be found here. If you are using other DACs, you would need to configure the device handle hCard and the pinned buffer pvDMABuffer_gpu accordingly.

To compile the code, you may also need to g++ installed as the host compiler.

With the drivers and compilers verified, you should be able to compile with the code. You need to modify the Makefile to make sure: 1. The CUDA driver directory is set properly; 2. The source file name matches the code you would like to compile, which by default should be one of the waveform_synthesis*.cu files. Upon the successful compilation, an executable waveform_synthesis should appear in the code directory.

Inference

Currently there is no GUI interface. The parameters of generated waveform could be editted in parameters files. For real-time interface, the server in waveform_synthesis*.cu, or other kinds of interruption needs to be implemented.

Evaluation

The Nvidia NSight Profile of the cuda function in this program is placed in the benchmark folder; the code used for testing is located in the benchmark\test_setting folder.

Citing

Please see the 2403.15582 correlated with this project. Please contanct Juntian Tu juntian"at"umd.edu for issues related to this repository.

awg-on-gpu's People

Contributors

tgojname avatar

Stargazers

Simon Hu avatar Nelson D. O. avatar

Watchers

Z. Smith avatar  avatar DSB avatar Sarthak Subhankar 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.