Results 1 to 4 of 4

Thread: running on GPU but not on CPU

  1. #1

    running on GPU but not on CPU

    whenever i am running my program on GPU it works fine but when i change it to CPU
    via CL_DEVICE_TYPE_CPU it says
    unhandled exception at 0x00215007 in program.exe 0xC00000005
    Access violation reading location 0x00000001 a0acad10

    plspls help

  2. #2

    Re: running on GPU but not on CPU

    There isn't enough information there to be able to help. At the very least you'll need a stack trace plus information about your OpenCL driver, some code, your compilation options and so on... but realistically it's not possible to debug a problem like this without actually sitting at your computer.

  3. #3
    Junior Member
    Join Date
    Dec 2012

    Re: running on GPU but not on CPU

    I don't see how that can compile given that pLocal is never defined. I also don't see how it can be computing a dot product, given that it outputs an array rather than a single value

  4. #4

    Re: running on GPU but not on CPU

    Are you using the Intel OpenCL SDK on an AMD CPU? In my experience, this combination doesn't work, while the reverse (AMD APP with Intel CPU) works.

Similar Threads

  1. Running openCL on CPU
    By yebethinks in forum OpenCL
    Replies: 1
    Last Post: 10-04-2012, 03:24 PM
  2. Replies: 1
    Last Post: 02-07-2011, 10:34 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
Proudly hosted by Digital Ocean