Search:

Type: Posts; User: clamport

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,058

    Incrementing value from multiple threads

    Hey all, I was wondering about incrementing a value (an int) from different threads and its potential race conditions. More specifically, do I need to use atomic functions to ensure that no two...
  2. Replies
    2
    Views
    1,886

    Re: Proposed change to C++ bindings

    Nevermind, thought it was assignment.
  3. Replies
    3
    Views
    1,620

    Re: Serial to Parallel question

    I guess to correctly state the problem, I have to be a bit more specific about the code. I am the code that this is running determines if a point is on the left of a line defined by points (a,b)....
  4. Replies
    3
    Views
    1,620

    Serial to Parallel question

    Hey everyone,
    My question today is more of an algorithmic question. When I have the following code



    // In main kernel
    for(a = 0; a < gSize; a++)
    {
    for(b = 0; b < gSize; b++)
    {
  5. Replies
    2
    Views
    1,886

    Proposed change to C++ bindings

    I have been playing around with OpenGL interop, and saw that the cl::Context constructor had properties set as NULL. From all of the OpenGL example code I have seen this parameter is for relaying...
  6. Replies
    0
    Views
    2,140

    Spelling issue in quick reference card

    On the quick reference card, section 6.5 Address Space Qualifiers
    there is
    __private, pricate

    should be
    __private, private

    Thanks,
    Chris
  7. Replies
    2
    Views
    3,015

    Re: clEnqueueWriteBuffer question

    Actually, that exactly answered my question.
    Thanks!
  8. Replies
    2
    Views
    3,015

    clEnqueueWriteBuffer question

    Regarding the aforementioned clEnqueueWriteBuffer, I have noticed that it can take a pointer to a host memory region with the most current bits. This eludes to the fact that the memory object is...
  9. Replies
    5
    Views
    7,023

    Re: How to compile OpenCL example in MS VC++?

    From what I have found, OpenCL cannot be compiled, at least under VS2008. There is an issue with not being able to pass aligned types to functions. The only way around this is to configure VS to use...
Results 1 to 9 of 9