Results 1 to 2 of 2

Thread: dead simple Hello World type request

  1. #1
    Junior Member
    Join Date
    Feb 2010

    dead simple Hello World type request

    I posted this in the wrong section (technical questions). My request is a sample program (like Hello World) which does some kind of dead-simple Monte Carlo simulation in a highly parallel way; let's say it calculates the number of times a random integer from 0-99 will be 42. Obviously that should be 1/100, what I'm interested in is sample code showing this through a Monte Carlo method.

    Obviously the example Im asking for is exactly as useful as a Hello World program, and I'm requesting it for exactly the same reason. Thank you for any help you might have, since I am just getting started and having so much trouble trying to go top-down from the specification. Thanks again.

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Northern Europe

    Re: dead simple Hello World type request

    Googling for "opencl hello world" returns a bunch of simple examples. The tricky part about what you want to do is generating the right set of random numbers. That's not trivial, but if you just build a very simple random number generator you can do it.

Similar Threads

  1. Replies: 15
    Last Post: 08-07-2011, 07:39 AM
  2. Is OpenMAX DL dead ?
    By ivan in forum OpenMAX
    Replies: 1
    Last Post: 03-24-2010, 07:01 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
Proudly hosted by Digital Ocean