Results 1 to 2 of 2

Thread: Driver changes, clCreateProgramWithBinary, clGetProgramInfo

  1. #1
    Senior Member
    Join Date
    Mar 2011
    Location
    Seoul
    Posts
    118

    Driver changes, clCreateProgramWithBinary, clGetProgramInfo

    I'm wondering what, if any, effects do changes in device drivers have on clCreateProgramWithBinary and clGetProgramInfo. Could a program binary generated when using an older driver still work as input to clCreateProgramWithBinary after updating to a newer driver? Could the newer driver output a different program binary from clGetProgramInfo?

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    10

    Re: Driver changes, clCreateProgramWithBinary, clGetProgramI

    After driver change, the generated binary can definitely change as optimizations, binary object format and code generation strategies can change with driver revisions. And it is not necessary that the new driver will accept the binary generated from the older driver in clCreateProgramFromBinary either. It is not wise to rely on being able to use the older binaries with newer driver.

Similar Threads

  1. Get binary of kernel - clGetProgramInfo
    By luizdrumond in forum OpenCL
    Replies: 6
    Last Post: 10-01-2012, 08:21 AM
  2. Replies: 1
    Last Post: 05-07-2012, 12:14 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
  •