Results 1 to 4 of 4

Thread: Using binary

  1. #1

    Using binary

    Hi,

    At first it seems that i caught the binary and put in a file, and after load in a buffer.

    When i loaded and made the program object with the binary with clCreateProgramWithBinary no error occurs, but in clCreateKernel(program,"sivia",&erro_create_kernel );

    CL_INVALID_KERNEL occurs.

    Very Thanks for help

  2. #2

    Re: Using binary

    No one knows?

  3. #3

    Re: Using binary

    You do have a clBuildProgram after your clCreateProgramWithBinary, right? You still need to call that before clCreateKernel even when you're starting with a binary....

    edit: never mind, it seems from your other thread that you are calling it.

  4. #4

    Re: Using binary

    But, my code is as, first i call clCreateWithBinary, after clBuildProgram and after ClCreateKernel.

    Is that?

    Thanks,

Similar Threads

  1. Get binary of kernel - clGetProgramInfo
    By luizdrumond in forum OpenCL
    Replies: 6
    Last Post: 10-01-2012, 08:21 AM
  2. Compile OpenCL code to binary
    By Rui in forum OpenCL
    Replies: 2
    Last Post: 05-31-2010, 09:46 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
  •