Search:

Type: Posts; User: wscrosswy

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,258

    Re: Lifetime of cl::Event objects?

    Thanks for your reply!


    Sorry I didn't include this in the example code - the command queue in the example is out-of-order, and (in my actual application) I am using multiple command queues. Part...
  2. Replies
    0
    Views
    1,091

    Native Kernels

    I'm finding limited information about the internals of native kernels. Specifically:

    How do they work? Are native kernels compiled along with the host code? Or are they JIT compiled just like a...
  3. Replies
    6
    Views
    2,709

    Re: clEnqueueNDRangeKernel : Error -38

    That really is strange... I can't think of anything, honestly. I suggest you start paring down your program until you get something small that replicates the issue (maybe use a dummy kernel with only...
  4. Replies
    1
    Views
    1,183

    Re: OpenCL and OpenGL integration

    First google hit for "opencl opengl interop tutorial":
    OpenCL / OpenGL Interoperation
  5. Replies
    6
    Views
    2,709

    Re: clEnqueueNDRangeKernel : Error -38

    Hm, yeah it's going to be hard to figure out what's going on - maybe you can pare down your code to a smallest-possible version that has the issue but is dissimilar enough from your original code to...
  6. Replies
    3
    Views
    2,258

    Lifetime of cl::Event objects?

    A quick question about event objects. Let's say I have a program that operates on a webcam feed. I want to keep looping as fast as I can grab frames and process them. The program might be structured...
  7. Replies
    6
    Views
    2,709

    Re: clEnqueueNDRangeKernel : Error -38

    Are you sure that it's your clEnqueueNDRangeKernel call that's returning that error code? I'm guessing you're also calling clSetKernelArg and some form of clEnqueue[Read/Write][Buffer/Image] - is it...
  8. Replies
    5
    Views
    9,427

    Re: Clarify CL_MEM_USE_HOST_PTR

    I know this is an old thread, but (a) it's a fantastic explanation for anybody who's confused on how this works, and (b) I have a question about it. Does this apply to only buffers? or all device...
  9. Replies
    3
    Views
    2,090

    Re: RGB image in RGBA format

    I'm not sure on gifs - literally just never messed with one before. No problem on 3D images, though - the method I used just loops through raw host memory - it doesn't matter of you're going to use...
  10. Replies
    2
    Views
    1,451

    Re: Webcam - Image vs. Mapped Buffer

    Wow - not sure how I missed that one. That works perfectly! Why would one NOT want to always use this??
  11. Replies
    2
    Views
    1,451

    Webcam - Image vs. Mapped Buffer

    So this is more of a general question. I'm doing some image processing on a webcam feed, so speed is crucial. I've been using Images, as pixel-wise access in kernels is faster than for buffers, but...
  12. Replies
    3
    Views
    2,090

    Re: RGB image in RGBA format

    So, I figured this out myself. The answer is YES, if you just arbitrarily copy an RGB image into an RGBA opencl 2DImage, your indexing will be messed up. I just went in an added an alpha byte for...
  13. Replies
    3
    Views
    2,090

    RGB image in RGBA format

    Just a quick question - I have a 640x480 24bit RGB webcam feed I'm trying to process with some OpenCL. I'm trying to use RGBA OpenCL 2DImages, but I'm a bit confused how to go about this. Let's say I...
  14. Replies
    5
    Views
    1,880

    Re: Images without Image support?

    The SDK certainly supports them, but not all GPUs support images. You can query your GPU to check this.
  15. Replies
    5
    Views
    1,880

    Re: Images without Image support?

    Thanks so much - I have code up and running already! Just curious - is that the idea behind rectangular buffers? Somehow the idea of reading/writing a 2D/3D region of a 1D object was a bit lost on...
  16. Replies
    5
    Views
    1,880

    Images without Image support?

    So I'm looking to do some image manipulation with OpenCL. I have code up and running with images enabled on my CPU (thanks to the ATI SDK update), but I'd like to run it on my GPU, which does not...
  17. Replies
    5
    Views
    2,474

    Re: Why create cl::Image2D from pointer?

    If this is true, why are enqueueWriteImage commands submitted on command queues, which are associated with single devices?
  18. Replies
    5
    Views
    2,474

    Re: Why create cl::Image2D from pointer?

    Yes, that is part of it! I understand that simply instantiating an image doesn't associate it with a specific device, I just don't get why you would use allocate specify a pointer to image data when...
  19. Replies
    5
    Views
    2,474

    Why create cl::Image2D from pointer?

    Hey guys. So I'm trying to load an image from file and get it into device memory. To do this, my instinct was to load the image, create an empty cl::Image2D object, and enqueue a writeImage command...
Results 1 to 19 of 19