title: Running the hello world OpenCL example on mac os x 10.9 Mavericks
body: <p>I am trying to run the example that apple has posted in his developer library:</p>
  
  <p><a href="https://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/ExampleHelloWorld/Example_HelloWorld.html#//apple_ref/doc/uid/TP40008312-CH112-SW2" rel="nofollow noreferrer">https://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/ExampleHelloWorld/Example_HelloWorld.html#//apple_ref/doc/uid/TP40008312-CH112-SW2</a></p>
  
  <p>I could not compile the example from the command line, until I read this thread:</p>
  
  <p><a href="https://stackoverflow.com/questions/13046035/how-to-set-up-xcode-to-run-opencl-code-and-how-to-verify-the-kernels-before-bui">How to set up Xcode to run OpenCL code, and how to verify the kernels before building</a></p>
  
  <p>which I found very useful and helpful. But I am still having problem when I try to run it. It gives me the following output:</p>
  
  <pre><code>Created a dispatch queue using the ATI Radeon HD 6750M
  Abort trap: 6
  </code></pre>
  
  <p>Do I have to run the executable with a specific flag? It is related to my GPU? By the way, I am using a MacBookPro from early 2011 on Mac OSX 10.9.1 Mavericks.</p>