added threadfence feature for hcc

1. Added feature for __threadfence and __threadfence_block
2. Added feature for using LLVM IR files directly while compilation
3. Added test for threadfence and threadfence_block

Change-Id: Ib7e5d89b4cca1a135952b317e5809cd05b56a3c9
This commit is contained in:
Aditya Atluri
2016-10-10 15:29:50 -05:00
parent 7c943ef20a
commit dc1042ce6d
5 changed files with 94 additions and 2 deletions
+5
View File
@@ -196,6 +196,11 @@ if($HIP_PLATFORM eq "hcc"){
}
}
if($HIP_PLATFORM eq "hcc"){
$EXPORT_LL=" ";
$ENV{HCC_EXTRA_LIBRARIES}="$HIP_PATH/lib/hip_ir.ll\n";
}
if($HIP_PLATFORM eq "nvcc"){
$ISACMD .= "$HIP_PATH/bin/hipcc -ptx ";
if($ARGV[0] eq "--genco"){