Results 1 to 2 of 2

Thread: barrier(CLK_LOCAL_MEM_FENCE) ??

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    14

    barrier(CLK_LOCAL_MEM_FENCE) ??

    I'm working on an OpenCL program and using the barrier(CLK_LOCAL_MEM_FENCE) function.
    By using this function the program never gave correct calculation.
    I'm still using the OpenCL 1.0.
    Is there any possibility that this function isn't working properly ??

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: barrier(CLK_LOCAL_MEM_FENCE) ??

    Sure there's a possibility of a bug in the OpenCL implementation you are using. We cannot be of more help unless you show us the kernel source code that is malfunctioning (the simpler you can make the code, the easier it will be to help you). It would also be useful to know what values you expected and what values were actually returned.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. Barrier
    By sher in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 2
    Last Post: 03-29-2012, 01:55 AM
  2. why use barrier?
    By memo in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 2
    Last Post: 11-18-2009, 10:25 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
  •