Skip to content

Commit

Permalink
Default to -O3 in the ME and BE if no -O is specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Voicu committed Sep 24, 2019
1 parent 682acef commit ab6a412
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/clamp-device.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ AMDGPU_OBJ_CODEGEN="0"
HCC_COV3="0"

# flag for optimisation level
HCC_OPT=""
HCC_OPT="-O3"

if [ $KMDBSCRIPT == "1" ]
then
Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atan.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atan2.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atan2f.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down
2 changes: 0 additions & 2 deletions tests/Unit/AmpMath/amp_math_atan_precise_math.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>
Expand Down
3 changes: 1 addition & 2 deletions tests/Unit/AmpMath/amp_math_atanf.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %cxxamp %s -o %t.out && %t.out
// XFAIL:*
// See http://ontrack-internal.amd.com/browse/LIGHTNING-319

#include <hc.hpp>
#include <hc_math.hpp>

Expand Down

0 comments on commit ab6a412

Please sign in to comment.