AMD Logo AMD Developer Central
AMD Developer Forums
Decrease font size
Increase font size
Topic Title: Build Options formatting
Topic Summary: -cl-opt-disable leads to compiler warning
Created On: 11/04/2009 02:49 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11/04/2009 02:49 PM
User is offline View Users Profile Print this message

Author Icon
AndreasStahl

Posts: 15
Joined: 09/25/2009

I just tried to disable optimizations in the hopes to produce more readable assembly code, but the compiler wouldn't accept "-cl-opt-disable", as described in the specification 1.0.48, ch. 5.4.3.3, p.94.

I changed it to "-opt-disable" and it worked. I figure we have to lose the cl prefix from all the other build-options as well?

Just thought I'd let all y'all know!

 11/04/2009 05:21 PM
User is offline View Users Profile Print this message

Author Icon
nou

Posts: 84
Joined: 08/07/2009

mistake

 11/05/2009 06:23 PM
User is offline View Users Profile Print this message

Author Icon
hazeman

Posts: 19
Joined: 09/24/2009

For me both "-cl-opt-disable" and "-op-disable" work.

But those options do not disable kernel optimizations. So hereby i'm reporting this as a bug.

 11/05/2009 07:03 PM
User is offline View Users Profile Print this message

Author Icon
MicahVillmow

Posts: 525
Joined: 02/05/2008

Thanks for reporting this.

-------------------------
Micah Villmow
Advanced Micro Devices Inc.
--------------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.

Statistics
6123 users are registered to the AMD Developer Forums forum.
There are currently 0 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.

Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information