Search:

Type: Posts; User: noah_r

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    217

    That is certainly encouraging. Speculation about...

    That is certainly encouraging.
    Speculation about handling endianness is probably not an issue to have too much heartache over given the hardware implementations out there. But, I do wonder how this...
  2. I don't see any errors in your approach. So I'm...

    I don't see any errors in your approach. So I'm wondering if there is an error in the library. Did you figure it out?
    I'm finding your post because of my interest in calling clSetKernelArg many...
  3. Replies
    5
    Views
    217

    I've wondered about this a few times. Does...

    I've wondered about this a few times. Does OpenCL really support passing derived data types (structs ) as kernel arguments? The C/C++ compiler and OpenCL compilers could choose to pad the storage...
  4. Well, I need some way to obscure or expose the...

    Well, I need some way to obscure or expose the 1.2 symbols to the host compiler. Even if I implemented some code to parse the string response for CL_DEVICE_VERSION or CL_PLATFORM_VERSION, I cannot...
  5. Host compile-time test for OpenCL version? Macro?

    I'm working on an application that will support OpenCL 1.2 implementations and OpenCL 1.1 implementations (come on, NVIDIA).

    OpenCL 1.2 has some macro definitions, such as the...
  6. Re: problem passing struct kernel arguments (Apple)

    Photovore, does my "Struct Argument" program linked in my original post work for you when run for your GPU device? I'm saying that program works for me on my AMD GPU. It fails with NVIDIA GPU. ...
  7. Re: problem passing struct kernel arguments (Apple)

    amending my previous update. In slightly more complicated struct cases, the Apple/AMD GPU case fails as well.
  8. Re: problem passing struct kernel arguments (Apple)

    Dave, I do not receive any error when setting the argument, just incorrect struct values within the kernel.


    Here's an update having tested a few different platforms and GPUs. The bug seems...
  9. how can I load arrays to constant memory space

    I'm confused about how to load read-only array values into the device constant memory space versus global memory space. The moderately sized array nodes_x in the below kernel meets all the criteria...
  10. Replies
    7
    Views
    2,627

    Re: OSX Lion 10.7.4 update broke my kernel

    Regarding the $100 and if it's worth it, I'll just share my experience. I've submitted three OpenCL bugs to Apple via the Apple Bug Reporter since January. only one elicited any follow-up inquiry...
  11. can host determine number of workgroups? related to reduce

    I need to perform a reduce operation (i.e maximum ) on a bunch of scalar variables that are ancillary results of each work item. Each work item produces one scalar. I want the maximum among all the...
  12. Re: problem passing struct kernel arguments (Apple)

    I reported this to Apple as a Bug Report back on April 3rd. Not that that has gone anywhere since, but maybe someday.
  13. Re: Pass symbol definitions with spaces as build options?

    Thanks for the thought, but I do not want to produce a string literal, I want a code literal. I'm working on doing some light dynamic OpenCL code generation.

    Suppose I wanted to replace a macro...
  14. Re: Pass symbol definitions with spaces as build options?

    never mind the about newlines and tabs. I can see they aren't going to be allowed. From the reference pages:


    But I sure would like spaces!
  15. Pass symbol definitions with spaces as build options?

    I would like to define some macros for my OpenCL program, where the macro definition will have several spaces. (also potentially special characters like newline and tab)

    I want to pass the...
  16. problem passing struct kernel arguments (Apple)

    I've run into a problem where I would like to pass one or more simple structures to my OpenCL kernel. I am aware of potential issues of packing and endian-ness. I'm prepared to work with those...
  17. Replies
    0
    Views
    1,519

    header file inconsistency

    I've had this preprocessor clause in my program for over a year now. As far as I can tell it's still required. I'd call in an interoperability issue.


    #ifdef __APPLE__ //unfortunately, Apple...
  18. Re: puzzling build message "Error getting function data..."

    quick update. I tried to compile my kernel using NVIDIA's implementation and it also failed. This time, no API error string. Just build-failure code returned.
  19. puzzling build message "Error getting function data..."

    Can anyone offer some insight into what might be causing this cryptic build message when compiling for my AMD HD 5770 on OS X?


    OpenCL Warning : clBuildProgram failed: could not build program for...
  20. Re: Why can kernels take __local pointer arguments?

    Ok, wow. I did'n realize that could be done, but now I see in the clSetKernelArg() documentation. Thanks.

    I guess one might do this if not enforcing a workgroup size at kernel compile-time but...
  21. Why can kernels take __local pointer arguments?

    Why can kernel take __local pointer arguments?

    As far as I know, the only meaningful value that the host could set for this argument is NULL. Sure, other OpenCL functions could call the kernel...
  22. Replies
    6
    Views
    2,133

    Re: Huge kernel overhead on Mac

    I see the same thing and believe this first-time delay is normal and predominately related to lazy buffer allocation on the compute device.

    You didn't post you kernel code / arguments, but I can...
  23. Re: How do I pass 7 arrays to device for kernal processing?

    Looking at your algorithm, I recommend a one-dimensional work range. This would probably be along your RAY_ARRAY. The reason is that you would be doing a global 'reduce' operation when saying...
  24. Replies
    2
    Views
    1,627

    Re: work item adjacency for 2D and 3D work ranges

    Thanks. This ordering issue plagues me every new time I encounter it in life. :)

    I wouldn't naturally use the semantics row = get_global_id(1);
    I would choose row = get_global_id(0);
    But I'm...
  25. Replies
    2
    Views
    1,627

    work item adjacency for 2D and 3D work ranges

    Does the OpenCL spec address essentially the issue of row-major versus column-major ordering for work items in 2D and 3D work ranges? Or is this up to the implementation?

    Being a C based...
Results 1 to 25 of 30
Page 1 of 2 1 2