#5 NVIDIA GPU Driver

closed-accepted
None
5
2007-09-19
2007-08-07
SpiglerG
No

This patch implements a driver for NVIDIA GPUs, to allow YARP users to use common graphics cards for general computing.
The driver allows easy interfacing with such hardware, allowing programs to be loaded, data fed into the GPU as a matrix (which is converted into a texture internally), ..

Currently it should be possible to do almost everything with this driver, as it can be used for signal processing, linear algebra and a lot of other things.
The best application is computer vision (fully supported with this patch).
Notice that other applications were not tested, even thought they should work.

Discussion

  • SpiglerG

    SpiglerG - 2007-08-07

    Logged In: YES
    user_id=1199597
    Originator: YES

    File Added: nvidia_patch.tar.gz

     
  • Paul Fitzpatrick

    • assigned_to: nobody --> eshuy
     
  • Paul Fitzpatrick

    Logged In: YES
    user_id=611078
    Originator: NO

    Thanks Giacomo!
    I'll get this processed as soon as I track down the right hardware to test it on.
    Thanks for your efforts,
    Paul

     
  • SpiglerG

    SpiglerG - 2007-08-07

    Logged In: YES
    user_id=1199597
    Originator: YES

    Ok.
    Thank you for your help in showing me the system.
    That accelarated the development of this patch a lot.

     
  • SpiglerG

    SpiglerG - 2007-08-07
     
  • SpiglerG

    SpiglerG - 2007-08-07

    Logged In: YES
    user_id=1199597
    Originator: YES

    Little modification to the modified files.

    File Added: patch.tar.gz

     
  • Paul Fitzpatrick

    Logged In: YES
    user_id=611078
    Originator: NO

    A slightly modified form of this code has been provisionally committed to the YARP repository (src/modules/nvidia; examples/nvidia). The modifications are mostly checks for problems (cg profiles supported, opengl extensions supported). The code compiles well on multiple configurations (src/modules/nvidia/README.TXT extended to include more information about necessary libraries).

    The YARP AUTHORS file has been updated to reflect this contribution; thanks again Giacomo.

    Paul

     
  • SpiglerG

    SpiglerG - 2007-08-09

    Logged In: YES
    user_id=1199597
    Originator: YES

    There is a modification also into src/libYARP_dev/include/yarp/dev:
    GPUInterface.h added
    all.h modified (to include it)

    Thank you.
    The check for problems were required, but i had found some problems with error contexts with Cg.
    Basically if i create a new object for each filter, i would also need to create a new error context for each one.
    Maybe this would work, but i din't test.

     
  • Paul Fitzpatrick

    • status: open --> closed-accepted
     
  • Paul Fitzpatrick

    Logged In: YES
    user_id=611078
    Originator: NO

    Closing patch; it has been committed and is being maintained by SpiglerG.