Search:

Type: Posts; User: drjerry

Search: Search took 0.00 seconds.

  1. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    Hi dlw, I can't recall the exact work-around that I used in that project. However I filed a bug report with Apple, and the engineers got back to me. They basically pointed out that the declaration of...
  2. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    Thanks David, my intuition had told me pretty much the same thing -- of course I didn't express it as concisely as you did. I had actually already filed a bug report with Apple before this last post,...
  3. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    If I replace the kernel with an empty one, it executes without issue on the GPU. In fact if I comment out the double loop, i.e., change to code to reflect


    // for (size_t j = 0; j < M; ++j) {...
  4. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    I neglected to mention: it's not some simple arithmetic overflow error in the kernel. Using the parameters set in the beginning of the host file, i.e., dim = 8, the double loop in the kernel counts...
  5. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    Okay. I had a lot of concurrent bugs in my code. The only one that I still can't eradicate is CL_INVALID_COMMAND_QUEUE error.

    Here is the kernel that I'm using; the source file is test4.cl.

    ...
  6. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    Hi David, you might be on to something. I really didn't know how to select the global and local work sizes, except that the spec requires the global to be evenly divisible by the local.
    ...
  7. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    If new information is helpful, I created the the context with the following simple call back function:


    void pfn_notify(const char *errinfo, const void *private_info, size_t cb, void *user_data)...
  8. Re: command queue goes dead after clEnqueueNDRangeKernel ?

    No, I haven't tried that yet. If you have some expertise in this area, what kind of information should I be probing using the call back function?

    This really is a frustrating bug. I've downloaded...
  9. command queue goes dead after clEnqueueNDRangeKernel ?

    I've been trying to triangulate a really stubborn bug for the past couple days. I'm testing an algorithm to compute high dimensional integrals using a parallel "divide and conquer" approach. The...
  10. Re: clUtil: a library for making OpenCL as painless as CUDA

    Hopefully GPL (?)

    I'm glad I saw your post when I did. I'm also working on a set of utilities to help get a handle on painful parts of the API, yet doing this while trying to get a tricky bit of...
  11. Replies
    5
    Views
    2,161

    What about this...

    I haven't had recourse to use this yet, so I haven't tried it. However the CL_MEM_ALLOC_HOST_PTR option for clCreateBuffer() seems to set up precisely what you want: allowing a kernel executing on a...
Results 1 to 11 of 11