Results 1 to 3 of 3

Thread: Getting started

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    Getting started

    Hi,

    I am a fairly experienced programmer (C, C++, Perl, x86 assembly...) and I would like to get started using OpenCL. I was hoping I could just start by using multiple CPU cores as my device, but every tutorial I've found starts by telling me I need an AMD or NVidia graphics card. I really would prefer to just use my laptop (which runs ubuntu 10.10 and doen't have a fancy graphics card) while I try to figure out the basic syntax of the language, how to compile, etc. I can worry about running on a GPU later.

    Is this possible, or do I have to use a real GPU to even compile and run "Hello World"?

    Thanks!

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Getting started

    Hi Alvaro,

    You don't need a GPU to start programming OpenCL. AMD's APP SDK, previously known as ATI/AMD Stream SDK, works fine with any x86 CPU.

    Intel also has OpenCL drivers but AFAIK they are still in alpha.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    Re: Getting started

    Thank you, David.

    I downloaded the ATI Stream SDK and managed to sort of get it to work. I've gotten to the frustrating situation where the "Hello world" program in the samples gives me a segmentation fault when I run it directly, but it works fine if I run it from gdb. A classic heisenbug!

    I think I'm not making enough progress, so I'll try the more traditional route of working with a real GPU.

Similar Threads

  1. getting started
    By Holtsoi in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 09-05-2011, 11:57 PM
  2. getting started
    By Deep in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 04-09-2009, 10:20 AM
  3. Can somebody help me get started!
    By newtoopengl in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 02-24-2006, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •