MMM
Results 1 to 25 of 59

Thread: Vector processing on nehelam?

Hybrid View

  1. #1
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    144
    Uh, Brent, you're confused. Vector graphics simply means the use of geometrical encodings to represent graphic objects rather than pixel bitmaps. A line defined by its endpoints instead of being defined by the full set of pixels between them at a particular resolution.

    Has nothing to do with vector processing, which is the ability of an instruction to perform the same operation on multiple operands at the same time.

  2. #2
    YouTube Addict
    Join Date
    Aug 2005
    Location
    Klaatu barada nikto
    Posts
    17,574
    Quote Originally Posted by brentpresley
    I'm not confused mate. Did a thesis project on Molecular Modeling of Protein structures and worked on the SW coding for it. We completely bypassed the driver layer to use the HW directly and trust me, the math for vector-based graphics is almost identical to the math for vector processing (they are both matrix calculations). Heck, the app I wrote would LOVE this feature in a processor. I wouldn't even have to recode it (unlike SSEn, which we would have to recode for)!
    what instruction set did you code it for?
    Fast computers breed slow, lazy programmers
    The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find most hard to pay.
    http://www.lighterra.com/papers/modernmicroprocessors/
    Modern Ram, makes an old overclocker miss BH-5 and the fun it was

  3. #3
    YouTube Addict
    Join Date
    Aug 2005
    Location
    Klaatu barada nikto
    Posts
    17,574
    Quote Originally Posted by brentpresley
    Plain vanilla C baby. Runs on Mac OS 9, OS X, Win95 - Vista, Linux, and several Unix variants.

    All I would need is a compiler update to take advantage of these features.
    Then you could have step the compiler to optimize it for SSE without much recoding
    Fast computers breed slow, lazy programmers
    The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find most hard to pay.
    http://www.lighterra.com/papers/modernmicroprocessors/
    Modern Ram, makes an old overclocker miss BH-5 and the fun it was

  4. #4
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    144

    Sounds like a false economy

    If you went to the trouble to optimize the performance of this math intensive app, it seems counterproductive to ignore the huge benefits from SSE/SSE2 that the compiler can give almost for free.

    Presumably it was only a few inner loops that really needed turboing, and a runtime selection of different code paths wouldn't make much of a dent in the 650KB. Not as if it would require significant Q/A either.

    Such is the PHB.

  5. #5
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    144

    Wow, talk about trial by fire!

    Heckuva project to cut your teeth on. I can understand how real-world requirements would affect your choices, but if this was all in C then I don't see the boss's reluctance to compile with various optimization flags.

    And really, why wasn't it written in FORTRAN?

  6. #6
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    144

    And javascript is built on java

    j/k, that one always bugs me.

    Sure, you can use vector instructions to crunch the matrices representing vector graphic objects, but the two uses of the word aren't related.

    Sounds like a fascinating project. When you bypassed the driver, was this an OpenGL driver? Would've expected that to be reasonably well optimized for every major platform.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •