Results 1 to 2 of 2

Thread: Default Optimization in OpenCL

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Default Optimization in OpenCL

    Hello

    I have OpenCL implemenations, I want to turn off default optimizations which are enabled by default, I used the flag "-cl-opt-disable" in clBuildProgram command but it gives me "undefined -cl-opt-disable" error, how can I disable these default optimizations?

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Default Optimization in OpenCL

    "-cl-opt-disable" is the standard way to disable optimizations (section 5.6.3.3 of the spec). If it does not work on a particular implementation of OpenCL you should contact your vendor.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

Similar Threads

  1. Replies: 6
    Last Post: 02-28-2013, 04:59 PM
  2. Replies: 5
    Last Post: 03-11-2011, 06:12 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
  •