Search:

Type: Posts; User: jprice

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    953

    I'm afraid you've made the same mistake as in...

    I'm afraid you've made the same mistake as in your previous topic, in that you are misunderstanding how the sizeof() operator works. In this case, the datatype of 'a' is a 'pointer to unsigned...
  2. Replies
    4
    Views
    745

    This issue is that you are incorrectly using...

    This issue is that you are incorrectly using 'sizeof(a)' to determine the size of your array. The sizeof operator computes the size of the datatype you give it, not the size of the array you...
  3. Replies
    2
    Views
    1,353

    Hi, For NVIDIA (assuming proprietary driver),...

    Hi,

    For NVIDIA (assuming proprietary driver), you can use the nvidia-smi command-line tool to gauge approximate GPU load:

    $ nvidia-smi
    Thu Dec 5 15:36:15 2013 ...
  4. Hi Zvika, The preferred vector width is just a...

    Hi Zvika,

    The preferred vector width is just a recommendation for improving performance. In this case, NVIDIA's OpenCL implementation is telling you that it would prefer vectors of size 1 (i.e....
  5. Hi Nikki, If you just want to be able to...

    Hi Nikki,

    If you just want to be able to develop/run OpenCL code (and aren't too concerned about performance), then almost anything will do since OpenCL will run perfectly well on the CPU. If your...
  6. Hi Nikki, At present, the intermediate...

    Hi Nikki,

    At present, the intermediate representations used by these vendors are not compatible. AMD's compiler will generate AMD IL, where as NVIDIA's implementation generates and consumes PTX....
  7. Hi Zvika, 1. The OpenCL implementation for...

    Hi Zvika,

    1. The OpenCL implementation for NVIDIA's GPUs is packaged with their driver. Therefore, if you have the driver installed (which I assume you do), then you will be able to run OpenCL...
  8. Replies
    1
    Views
    926

    Hi, If the clCreateContext() function...

    Hi,

    If the clCreateContext() function succeeds, then status will be set to CL_SUCCESS, and context will be non-NULL. So yes, your test should be sufficient to determine if the context is valid....
  9. Replies
    3
    Views
    1,438

    Hi Tim, There is indeed a gap in the current...

    Hi Tim,

    There is indeed a gap in the current specification regarding implicit conversions from scalar to vector types, which results in undefined compiler behaviour for builtin functions. This has...
  10. Replies
    4
    Views
    1,058

    No, the function get_global_id() just returns the...

    No, the function get_global_id() just returns the index of the thread (work-item) that is executing. When you call clEnqueueNDRangeKernel(), you specify how many threads (work-items) you want to...
  11. Replies
    4
    Views
    1,843

    Re: First NVIDIA OpenCL Driver Version?

    295.40 definitely has support for OpenCL on some NVIDIA GPUs, but not all GPUs are supported (for example, a Tesla K20c did not work with this driver version on one of our boxes). Which GPU are you...
  12. Replies
    3
    Views
    1,302

    Re: opencl sdk problem

    I believe it's the same SDK for both CUDA and OpenCL, but I could be mistaken.
  13. Replies
    3
    Views
    1,302

    Re: opencl sdk problem

    You can find a full archive of all the CUDA Toolkit versions here:
    https://developer.nvidia.com/cuda-toolkit-archive
  14. Replies
    2
    Views
    1,463

    Re: Is it OpenCL properly installed in my PC?

    I believe NVIDIA only added OpenCL/CUDA support from 8-series cards onwards, so your GPU would not support OpenCL.
  15. Replies
    2
    Views
    1,971

    Re: Timing with clGetEventProfilingInfo

    Ah, that's what I was missing. I guess I read over that a little too fast, making the statement about CL_DEVICE_PROFILING_TIMER_RESOLUTION a little confusing.

    That makes everything much clearer,...
  16. Replies
    2
    Views
    1,971

    Timing with clGetEventProfilingInfo

    Hi,

    I'm having trouble getting the correct timings from the OpenCL profiling functions. I'm using the CL_DEVICE_PROFILING_TIMER_RESOLUTION property combined with the clGetEventProfilingInfo...
  17. Replies
    4
    Views
    1,880

    Re: Detecting same device on different platforms

    The AMD OpenCL SDK does indeed work for all x86 CPUs, including Intels. Perhaps AMD's driver works differently to Intel's and doesn't require SSE4. My guess is the latter of your hunches - the ATI...
  18. Replies
    4
    Views
    1,880

    Re: Detecting same device on different platforms

    Fair enough, I guess that's more or less the workaround I have at the moment.

    Thanks very much.
  19. Replies
    4
    Views
    1,880

    Detecting same device on different platforms

    Hi,

    I would like to be able to automatically use all available devices on any given system. The problem I'm having is that I can't find any way of telling if two devices on different platforms are...
Results 1 to 19 of 24