Results 1 to 2 of 2

Thread: Error enqueueing kernel

  1. #1

    Error enqueueing kernel

    Hello,

    When I try to enqueue a kernel, I'm getting an error saying "access violation reading location 0xfdfdfdfd". I've put most of the OpenCL related stuff on a class (context creation, building, etc) and I'm trying to enqueue with:


    Code :
    err = gpuHandler->getCommandQueue()->enqueueNDRangeKernel(*gpuHandler->getMyKernel(), cl::NullRange, global, local);

    What could I be doing wrong?

    Thanks in advance!

  2. #2

    Re: Error enqueueing kernel

    Never mind, keeping OpenCL stuff on a separate class is OK. Buffer creation was buggy.

Similar Threads

  1. OpenCL kernel crashes with -5 Error
    By Gopal_HC in forum OpenCL
    Replies: 0
    Last Post: 08-09-2012, 03:12 AM
  2. Replies: 4
    Last Post: 08-06-2012, 01:18 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
  •