disable rocrv2, properly

This commit is contained in:
Ben Sander
2016-02-27 03:31:30 -06:00
parent 3238185276
commit ea09557e1b
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ if ($needHipHcc) {
if ((not -e $object) or ((stat($source))[9] > (stat($object))[9])) {
my $CMD = "$HCC $HCCFLAGS -I$HSA_PATH/include -I$HIP_PATH/include -Wall -c $source -o $object";
if ($verbose & 0x10) {
$CMD .= " -g -O2" ;
$CMD .= " -g -O0" ;
} else {
$CMD .= " -O3" ;
}