Giter Club home page Giter Club logo

ilgpu's Introduction

ILGPU

ILGPU is a JIT (just-in-time) compiler for high-performance GPU programs written in .Net-based languages. ILGPU is entirely written in C# without any native dependencies. It offers the flexibility and the convenience of C++ AMP on the one hand and the high performance of Cuda programs on the other hand. Functions in the scope of kernels do not have to be annotated (default C# functions) and are allowed to work on value types. All kernels (including all hardware features like shared memory and atomics) can be executed and debugged on the CPU using the integrated multi-threaded CPU accelerator.

Build Instructions

ILGPU requires Visual Studio 2019 (Community edition or higher).

Use the provided Visual Studio solution to build the ILGPU libs in the desired configurations (Debug/Release).

Note: T4 (*.tt) text templates must be converted manually depending on the Visual Studio version. To transform them, right-click a text template and select Run Custom Tool. Alternatively, you can open and save any text template in Visual Studio.

Tests

Sometimes the XUnit test runner stops execution when all tests are run in parallel. This is not a problem related to the internal tests, but a known XUnit/Visual Studio problem. If the tests stop unexpectedly, you can simply run the remaining tests again to continue working.

Note: You can unload ILGPU.Tests.Cuda (for example) if you do not have a Cuda-capable device to execute the Cuda test cases.

General Contribution Guidelines

  • Make sure that you agree with the general coding style (in terms of braces, whitespaces etc.).
  • Make sure that ILGPU compiles without warnings in all build modes (Debug, DebugVerification and Release).

References

  • Parallel Thread Execution ISA 6.4
    • NVIDIA
  • A Graph-Based Higher-Order Intermediate Representation
    • Roland Leissa, Marcel Koester, and Sebastian Hack
  • Target-Specific Refinement of Multigrid Codes
    • Richard Membarth, Philipp Slusallek, Marcel Koester, Roland Leissa, and Sebastian Hack
  • Code Refinement of Stencil Codes
    • Marcel Koester, Roland Leissa, Sebastian Hack, Richard Membarth, and Philipp Slusallek
  • Simple and Efficient Construction of Static Single Assignment Form
    • Matthias Braun, Sebastian Buchwald, Sebastian Hack, Roland Leissa, Christoph Mallon and Andreas Zwinkau
  • A Simple, Fast Dominance Algorithm
    • Keith D. Cooper, Timothy J. Harvey and Ken Kennedy

License information

ILGPU is licensed under the University of Illinois/NCSA Open Source License. Detailed license information can be found in LICENSE.txt.

Copyright (c) 2016-2019 Marcel Koester (www.ilgpu.net). All rights reserved.

License information of required dependencies

Different parts of ILGPU require different third-party libraries.

Detailed copyright and license information of these dependencies can be found in LICENSE-3RD-PARTY.txt.

ilgpu's People

Contributors

m4rs-mt avatar moftz avatar mikhail-khalizev avatar

Watchers

James Cloos 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.