Type: Posts; User: firespot

Search: Search took 0.00 seconds.

  1. Replies

    exp, infinity, isinf, fmin/fmax


    Assume that:
    double x = 10000.0;

    and x is used in an expression which yields a result not finitely representable by the given floating-point type, such as:
    double y = exp(x);

  2. If "operating on" refers to buffers for which...

    If "operating on" refers to buffers for which both read & write access occurs (and specifically output of kernel calculations), indeed for these my code and the synchronization does not allow any...
  3. Sorry if my question was not explicit enough. The...

    Sorry if my question was not explicit enough. The question is if the described usage pattern is OK according to the OpenCL specification, i.e. doesn't violate anything, introduces a race, relies on...
  4. enqueuing multiple kernels with same input buffers

    Dear all,

    According to the OpenCL standard, is it ok to enqueue sequentially (from a single host-thread) a number of kernels (clEnqueueNDRangeKernel) where:
    -) all refer to the same context
  5. Replies

    Correct me if I am wrong, but IIRC then something...

    Correct me if I am wrong, but IIRC then something like this:
    y = ++x[i] - x[i]++;
    is ill-formed in C. (obviously it's hardly written intentionally that way, but x can simply be two different...
  6. Replies

    __global memory model within kernel


    In one of my own comments (in a kernel) I have just read that for __global memory only one read and one write access must occur. I wanted to check the details for this (i.e. if this refers to...
  7. CL_MEM_ALLOC_HOST_PTR and 'ordinary' buffer reads/writes


    Consider a buffer created with the CL_MEM_ALLOC_HOST_PTR. Is it valid to use clEnqueueReadBuffer / clEnqueueWriteBuffer with that buffer if the buffer is not mapped, or is that invalid and...
Results 1 to 7 of 7
Proudly hosted by Digital Ocean