Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1
このコミットが含まれているのは:
@@ -19,6 +19,10 @@ use File::Basename;
|
||||
# HCC_HOME : Path to HCC SDK (default /opt/hcc). Used on AMD platforms only.
|
||||
# HSA_PATH : Path to HSA dir (default /opt/hsa). Used on AMD platforms only.
|
||||
|
||||
if(scalar @ARGV == 0){
|
||||
print "No Arguments passed, exiting ...\n";
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
$verbose = $ENV{'HIPCC_VERBOSE'};
|
||||
$verbose = 0 unless defined $verbose;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする