Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7686479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:29:26+00:00 2026-05-31T19:29:26+00:00

I am experimenting with OpenCL programming. I was following the article in http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/ When

  • 0

I am experimenting with OpenCL programming. I was following the article in

http://www.thebigblob.com/getting-started-with-opencl-and-gpu-computing/

When the CPU is used ie CL_DEVICE_TYPE_DEFAULT it works fine.

Sample output:

...
1015 + 9 = 1024
1016 + 8 = 1024
1017 + 7 = 1024
1018 + 6 = 1024
1019 + 5 = 1024
1020 + 4 = 1024
1021 + 3 = 1024
1022 + 2 = 1024
1023 + 1 = 1024
...

However whenever I try to use the GPU (CL_DEVICE_TYPE_GPU) it doesn’t work.

Sample output:

...
1015 + 9 = 0
1016 + 8 = 0
1017 + 7 = 0
1018 + 6 = 0
1019 + 5 = 0
1020 + 4 = 0
1021 + 3 = 0
1022 + 2 = 0
1023 + 1 = 0
...

I have install AMD APP SDK 2.6 on my system which is running on a Core 2 Duo E4500 and the GPU is a HIS Radeon HD 5450.

Cheers,

Utsav

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:29:27+00:00Added an answer on May 31, 2026 at 7:29 pm

    If you installed AMD APP SDK 2.6 then go to C:\Users\%USER%\Documents\AMD APP\samples\opencl\cl\app

    There you will find ton of samples you can change the code to make it use GPU such as Template C where you can change the code to point to GPU when creating context

      context = clCreateContextFromType(cps, 
                                          CL_DEVICE_TYPE_GPU, 
                                          NULL, 
                                          NULL, 
                                          &status);
    

    Some more checkpoint to make it work
    1. Install the Latest AMD Catalayst Drivers from here : http://support.amd.com/us/gpudownload/Pages/index.aspx

    1. Download GPU caps viewer and make sure your GPU devices are recognized.
      http://downloads.guru3d.com/GPU-Caps-Viewer-1.7.0-download-1584.html

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am experimenting with OpenCL to increase the speed of our software. We work
im experimenting in getting camel to do some file operations and pass them through
I have been experimenting with functional programming and I still dont understand the concept.
I'm experimenting with SWFUpload ( http://swfupload.org ) and I'm wondering if, in PHP, its
I recently started experimenting with Python decorators (and higher-order functions) because it looked like
Started experimenting with building classes, and I've began by converting my user registration/login into
Im experimenting with the following code private void timer1_Tick(object sender, EventArgs e) { Thread
Was experimenting with some basic http post stuff with php and ran into this
Experimenting with Scala... I'm trying to define something analogous to the @ hack in
Experimenting with android game development. I'm using PNG format for images, and was wondering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.