Results 1 to 2 of 2

Thread: How do I check OpenCL is OK? Mac/Windows

  1. #1
    Junior Member
    Join Date
    Feb 2011

    How do I check OpenCL is OK? Mac/Windows

    Hi all,

    I am starting on OpenCL Development, I found some tutorials but they all assume you have OpenCL drivers up and running.

    But How do I check this is the case and OpenCL is ready to go?

    I am using both Mac OSX 10.6 (Snow Leopard) and Win 7 with an ATI HD4850.

    I am looking for benchmarking/monitoring tools etc. I've been looking it up on google but it's all very fragmented so I thought I'd drop a post here.

    Any help appreciated.

  2. #2
    Join Date
    Oct 2010
    Vancouver, Canada

    Re: How do I check OpenCL is OK? Mac/Windows

    On SnowLeopard, OpenCL is always present and you can just start calling it using the default cl_platform. Under Windows your app should either have a hard dependency on the ICD dll (if you can't run without CL), or you need to do the usually dll handling to deal with its absence... its been a long time since I've had to do that, so I can't help you there. Once the ICD is loaded you need to enumerate the installed platforms and choose one (or more).

    There was a post in the last week on these forums regarding a few benchmark suites that are addressing CL. I haven't looked into them myself, but they should provide a starting point. For profiling tools, you can use vendor-specific tools or the profiling API built into CL -- it allows you to time how long it takes your command's events to pass through their various states. Look in the OpenCL spec for profiling.

Similar Threads

  1. OpenCL on Mac OS
    By v14d1427 in forum OpenCL
    Replies: 1
    Last Post: 04-14-2011, 01:44 PM
  2. OpenCL on Windows much slower than on Mac?
    By ZhaoYu in forum OpenCL
    Replies: 6
    Last Post: 06-30-2010, 04:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean