Giter Club home page Giter Club logo

asfermi's Introduction

asfermi: An assembler for the NVIDIA Fermi Instruction Set


Note: entire project imported from Google Code. This project is no longer actively maintained, and the wiki is pretty much broken on GitHub.


asfermi is an assembler for the NVIDIA Fermi ISA. It can output assembled kernels directly into cubin files (an ELF format file that NVIDIA uses to store its machine code), or it can be used to modify existing cubin kernels. Currently around 70 instructions are supported. asfermi works on both 32-bit and 64-bit platforms.

Fermi is NVIDIA's current-generation Graphics Processing Unit (GPU) architecture (as of 2011). NVIDIA does not disclose much of the detail of its current architecture. While NVIDIA provides an assembly-like language, PTX, for the use in CUDA, PTX is actually treated as a high-level language that is compiled and optimized with ptxas. As a result, direct access to the hardware using real opcodes is not available. With this assembler, real opcodes can be directly generated on a one-to-one basis from instruction. Aided with this direct means of interaction, hopefully all the important details of the GF1xx architecture may be uncovered, so that the knowledge may be used for more accurate optimization on the Fermi (and later generations of) GPUs.

Keywords: CUDA, Fermi, Assembler

Documentation: For a list of the wiki pages and their brief descriptions, see Index.

Recent Edit

  • Some interesting discussion has taken place in the asfermi Google Group. You can browse through the discussions to find out more.
  • Updates: Last updated: 13th Jan: mmarc__ contributed a patch to make asfermi callable as a library
  • Plan: Updated to-dos.
  • FAQ: FAQ for coding
  • KnownIssues
  • S2R_Test: contains some preliminary result of the instruction scheduling pattern
  • LEPC_Test
  • CodeExample: code samples

Current Development State

All must-have instructions are now supported. A branch libasfermi has been added.

For more information regarding the state of asfermi, see Updates.


Other information:

Fermi's instruction set is half-disclosed through the disassembler, cuobjdump, provided by NVIDIA in CUDA toolkit 4.0. Instruction names are roughly included in the cuobjdump.pdf of the toolkit's documentation.

A disassembler(decuda) and an assembler(cudasm) for the G80 ISA can be found here.

A paper that reveals the details of the GT200 architecture: Demystifying GPU architecture through Microbenchmarking

asfermi's People

Contributors

hyqneuron avatar

Watchers

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