Results 1 to 3 of 3

Thread: Researches with OpenCL and simple code with binaries

  1. #1

    Researches with OpenCL and simple code with binaries

    Hi,

    Someone know if in researchs of High Performance Computing, more specifically in OpenCL, whether time results presented are only of execution of application, excluding compilation time or is whole time, execution + compilation?


    Someone have a simple example to use compile with binnaries instead compile all files every time?


    Very Thanks,

    Luiz Drumond.

  2. #2
    Member
    Join Date
    Mar 2010
    Location
    Raleigh, NC
    Posts
    55

    Re: Researches with OpenCL and simple code with binaries

    I've not done much outside of individual multi-card workstations (not HPC in the traditional sense), but you have to read the results very carefully.

    Most places will present the time results as the computational execution time only. It looks better that way.

    In my personal experience, I had a program that used two .cl files with ~50 functions across 6000 lines of code. My read + compile time with an NVIDIA GeForce 460 GTX (and an Intel i7 920 CPU) was approximately 20-30 seconds.

    NVIDIA, though, caches off the compiled file in a temp directory, so unless you significantly change the .cl file, it doesn't re-compile. The read + "compile" in that sense was on the order of 2-3 seconds. Thus, if you can go with pre-compiled binaries, do so - but understand that for commercial codes it might not be feasible (you'd have to ship with a pre-compiled binary for all of the different architectures; a better solution might be to compile the binary when you first run the program, and then save that - OpenCL does make that possible).

  3. #3

    Re: Researches with OpenCL and simple code with binaries

    Hi,

    Thanks for your answer.

    Can you indicate some articles that show only the time of execution? It is good for me know how researchers are presenting your results.

    About the compile time and execution time, when you used compile with binnaries the whole time fall to 2 - 3 seconds?

    Do you have some code exemple how can i do this in OpenCL?

    Very Thanks,

    Luiz Drumond.

Similar Threads

  1. Researches with OpenCL and simple code with binaries
    By luizdrumond in forum OpenVG and VGU
    Replies: 0
    Last Post: 11-04-2011, 12:52 PM
  2. Searching for simple code
    By ZaZ in forum OpenCL
    Replies: 4
    Last Post: 08-11-2010, 03:42 AM

Posting Permissions

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