Search:

Type: Posts; User: sanderbeckers

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,840

    Re: busy wait when executing kernel

    That's exactly the point, nothing is missing. Those lines of code appear in this way in the program.
    The first call to host_timing() is executed before the kernel is enqueued, then the kernel is...
  2. Replies
    4
    Views
    2,840

    Re: busy wait when executing kernel

    Here's the part of the code that matters:

    host_timing();
    ciErr1 = clEnqueueNDRangeKernel(cqCommandQueue, gpu_satsolver, 2, NULL, szGlobal, szLocal, 0, NULL, NULL);
    host_timing();
    host_timing();...
  3. Replies
    4
    Views
    2,840

    busy wait when executing kernel

    I am trying to let the host continue to work while the GPU is busy executing a kernel, but the CPU simply waits until the kernel has been executed. I haven't blocked the kernel execution in any way. ...
  4. Replies
    1
    Views
    1,241

    initialize global variables

    Is there any way to initialize a global variable with a value that is passed on from the host?
    The reason is that otherwise you need to pass the variable as an argument to every function which uses...
  5. Re: pointer type conversion in kernel won't work

    Thanks for the swift response.
    First, you were of course right about the pointer, although it's not the cause of the problem here.
    Second, I agree that the error must be due to 'invalid memory...
  6. pointer type conversion in kernel won't work

    I'm at a loss to why the following doesn't work in OpenCL, as it does work in ordinary C and in CUDA. I want to take a character pointer to global memory, make it a pointer to an unsigned short, take...
  7. Re: When is a command queue actually executed?

    Thanks a lot, that's very useful info!
  8. When is a command queue actually executed?

    All operations which are enqueued into the same command queue are executed as one group, but at which point exactly is a command queue executed?
    Is it when the first operation in the queue is...
Results 1 to 8 of 8