Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OSX 10.8, GT650M, OpenCL Hello World example fails; Can't create command queue

The official `Open Cl Hello World` example http://developer.apple.com/library/mac/#samplecode/OpenCL_Hello_World_Example/In troduction/Intro.html

fails with "Can't create command queue" err: -30, CL_INVALID_VALUE, as does the examples from the OpenCL books http://code.google.com/p/opencl-book-samples/ .


I'm on a fresh install of XCode 4.4.1, OS X 10.8.1 and don't know how to proced. I crossposted this issue to the MacRumors Forum, where other users stated that the code works. I'm beginning to think that I have a faulty machine/driver/installation but want to do everything in my power to get this to work (I need this for my master thesis)

MacBook Pro with Retina display, OS X Mountain Lion (10.8.1), XCode 4.4.1

Posted on Aug 29, 2012 2:29 PM

Reply
8 replies

Jan 3, 2013 12:14 PM in response to oschrenk

Did you ever find a solution to this issue?


I have started investigating the use of OpenCL for use in a graphics app. However I have found two nagging issues:

1) Performance is not consistent: One run may give a performance result and the next one half that performance. It seems this may be due to running other applications that may tie some GPU resources, even if they are not displayed.

2) Similar issue to the one described by oschrenk but... I can run my tests a few times but then suddenly, all further tests will return a CL_INVALID_VALUE when trying to instantiate a command queue and I can never run again. The only fix I find is to reboot my laptop. Clearly not an acceptable solution.


This is a show stopper. Anybody knows what may be done about it?

Oct 31, 2013 3:47 AM in response to oschrenk

Hi, I just wanted to let everyone know that I believe this issue has now been resolved with OSX Mavericks. I submitted a bug report (# 15159324) on 5th October 2013 and received a report last night.


To fix for yourself:


If you do then all should now be ok to use the GT650m

OSX 10.8, GT650M, OpenCL Hello World example fails; Can't create command queue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.