Results 1 to 7 of 7

Thread: CUDA and Boost Libraries

  1. #1
    Join Date
    Nov 2009
    Posts
    1,075

    CUDA and Boost Libraries

    Does anyone can put a bit light on Cuda and Boost libraries function. Here I am trying to work on a host function and kernel where I want integrate the same with a similar project. I am not able to figure out the working of the project where I am getting error. In this I had added some functionality by using Boost Libraries. But I am not able to compile a program for the same.

  2. #2
    Join Date
    Apr 2009
    Posts
    570

    Re: CUDA and Boost Libraries

    Compiling Boost requires the use of bjam, downloadable from Soundforge. The executable must be accessible from the command line. Once downloaded, the archive must be decompressed Boost, for example in / home / user / local / src or c: \. Using the command line, move into that folder. Boost can be compiled with several tools, including gcc and Microsoft Visual Studio. To do this we must add the option - toolset = msvc Windows, Linux, gcc is the compiler default.

  3. #3
    Join Date
    May 2009
    Posts
    529

    Re: CUDA and Boost Libraries

    The main use of Boost is the form of header files it offers. These files are in the subfolder boost. If you have installed Boost in another sub-folder (Windows or Linux), you must add this folder include subfolder in the environment variable INCLUDE. If you are using Visual Studio, add it in the folder list header options in the IDE. If you use the Boost libraries compiled, do the same with the bin to add to the PATH on Windows and add the lib to LD_LIBRARY_PATH under Linux.

  4. #4
    Join Date
    May 2009
    Posts
    640

    Re: CUDA and Boost Libraries

    NVIDIA has started to distribute its CUDA Toolkit 3.0 and CUDA SDK 3.0 its developers. It seems to have two objectives: improve support for OpenCL and start preparing for the arrival of products from architectural Fermi . Here in that version you will get a opportunity to learn more about 195.39 drivers that NVIDIA had recently online, including the improvements OpenCL. Try that out.

  5. #5
    Join Date
    May 2009
    Posts
    546

    Re: CUDA and Boost Libraries

    CUDA API is kind of high level, that is to say it is globally well as hardware abstraction take into account its specification is required to obtain an attractive return. For its part, with the MLC, AMD offers a low-level API. Roughly CUDA makes it possible to develop more easily, whereas MLC can better optimize the code. The CUDA driver handles the role of intermediary between the compiled code and the GPU.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    Re: CUDA and Boost Libraries

    The CUDA runtime is itself an intermediary between the developer and the driver that facilitates the development by hiding some details. CUDA offers either through the API or runtime direct access to the API driver. You can see the runtime API as high-level language API and driver as an intermediary between the high and low to optimize the code manually in more depth. In the opposite direction, AMD can write kernels in HLSL instead of a machine language, so as to facilitate development.

  7. #7
    Join Date
    May 2009
    Posts
    542

    Re: CUDA and Boost Libraries

    There might be some issue related to the compilation of the program. Try to get some latest toolkit and do a bit study on the same. The 3.0 toolkit of CUDA has the ability to control compilation optimizations via cl_nv_compiler_options. It supports 32-bit atomic operations and 1.0.48 of Khronos specifications OpenCL. So there might be something lacking in your system.

Similar Threads

  1. Ubuntu 10.04 and CUDA
    By Beryl in forum Operating Systems
    Replies: 8
    Last Post: 12-10-2010, 09:28 AM
  2. CUDA with BOINC
    By Mei-Xiu in forum Monitor & Video Cards
    Replies: 6
    Last Post: 01-06-2010, 06:56 AM
  3. CUDA encoders for H.264
    By Bansi_WADIA in forum Operating Systems
    Replies: 3
    Last Post: 12-06-2009, 10:33 PM
  4. Have You Tried CoreAVC with CUDA ?
    By Bina in forum Technology & Internet
    Replies: 5
    Last Post: 10-03-2009, 11:19 PM

Posting Permissions

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