Search:

Type: Posts; User: memo

Search: Search took 0.00 seconds.

  1. Re: CLH_ERROR_NO_BINARY_FOR_GPU when not using sampler!?

    Thanks for the replies, yea it looks very suspicious, have filed radar 7414906 (This was on 10.6.2 with latest Macbook Pro, 9600GT). I can't understand why msacv_threshold would work and...
  2. CLH_ERROR_NO_BINARY_FOR_GPU when not using sampler!?

    hi all, my very simple kernel code is below.


    __kernel void msacv_multiplyf(write_only image2d_t dstImage, read_only image2d_t srcImage, const float f, sampler_t smp) {
    int2 coords =...
  3. Thread: why use barrier?

    by memo
    Replies
    2
    Views
    3,332

    Re: why use barrier?

    Hi thanks for the reply. I think I kind of understand but not fully confident if I can use that technique to my advantage :S apart from the opencl specifications, can you recommend any reading /...
  4. Thread: why use barrier?

    by memo
    Replies
    2
    Views
    3,332

    why use barrier?

    Hi all, i'm looking at the nbody example that comes with snowleopard (specifically the one in QC 4.0) and I'm trying to understand why the barrier command is used in the kernel (full code below).
    I...
  5. Replies
    2
    Views
    1,880

    Re: caching variables from arrays

    ok makes sense thanks.
  6. Replies
    2
    Views
    1,880

    caching variables from arrays

    Hi all, I have the following kernel code


    typedef struct {
    float2 vel;
    float mass;
    float life;
    } Particle;

    typedef struct {
  7. Re: passing in array of struct to kernels (and updating VBO)

    as an update, I noticed that using a float[3] dummy at the end doesn't' work like I thought it did above. I also have to insert a float2 between pos and col, so the following worked:


    // DEVICE:...
  8. passing in array of struct to kernels (and updating VBO)

    Hi All,

    I've been working on an openCl particle system and have encountered a problem / query. My original example is here
    http://www.memo.tv/opencl_in_openframew ... _particles

    in that...
Results 1 to 8 of 14