Results 1 to 2 of 2

Thread: Multiple kernels and constant memory

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    3

    Multiple kernels and constant memory

    I have two kernels. These kernels have __constant float* ptr as input parameter.
    All works fine when I try to run the kernel with number 0. But when I am trying to run the kernel with number one, there is no data in __constant memory. When I replace "__constant float* ptr" by "__global float* ptr" in the kernel with number 0 and run the kernel with number 1 one more time all works fine.

    Have there any ideas why it is so and how to avoid it?

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

    Re: Multiple kernels and constant memory

    It definitely sounds like a bug in the driver. I suggest reporting it to the manufacturer.
    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. Replies: 6
    Last Post: 07-19-2011, 09:31 AM
  2. constant memory
    By FredericX in forum OpenCL
    Replies: 2
    Last Post: 12-03-2010, 11:52 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
  •