Results 1 to 2 of 2

Thread: Default Optimization in OpenCL

  1. #1
    Junior Member
    Join Date
    Jul 2011

    Default Optimization in OpenCL


    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
    Toronto, Canada

    Re: Default Optimization in OpenCL

    "-cl-opt-disable" is the standard way to disable optimizations (section 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, 03:59 PM
  2. Replies: 5
    Last Post: 03-11-2011, 05: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
Proudly hosted by Digital Ocean