Results 1 to 3 of 3

Thread: Compile OpenCL code to binary

  1. #1

    Compile OpenCL code to binary

    Since there is a function clCreateProgramWithBinary, instead of compiling code on runtime, is it possible to compile OpenCL code to binary format, officially speaking?

  2. #2
    Member
    Join Date
    Nov 2009
    Location
    Scotland
    Posts
    72

    Re: Compile OpenCL code to binary

    Check out clGetProgramInfo() with CL_PROGRAM_BINARY_SIZES and CL_PROGRAM_BINARIES (see Section 5.4.5 in the spec)

  3. #3

    Re: Compile OpenCL code to binary

    Is there any example of this available?

Similar Threads

  1. OpenCL Binary | Effective Memory Usage
    By Timo_Burggraf in forum OpenCL
    Replies: 3
    Last Post: 06-11-2012, 10:50 PM
  2. Compile and import sampe code to the phone
    By quanggles in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 05-01-2005, 09:09 PM

Posting Permissions

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