We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 497a009 commit e33bc5dCopy full SHA for e33bc5d
script/build_kernel.sh
@@ -32,8 +32,8 @@ fi
32
33
OCL_VER="2.0"
34
35
-if [ -e $ROCM_DIR/bin/llvm ] ; then
36
- LLVM_DIR=$ROCM_DIR
+if [ -e $ROCM_DIR/llvm ] ; then
+ LLVM_DIR=$ROCM_DIR/llvm
37
LIB_DIR=$ROCM_DIR/lib
38
else
39
LLVM_DIR=$ROCM_DIR/hcc
@@ -73,7 +73,7 @@ fi
73
for GFXIP in $TGT_LIST ; do
74
OBJ_PREF=$GFXIP
75
OBJ_FILE="${OBJ_PREF}_${OBJ_NAME}.$SO_EXT"
76
- $BIN_DIR/llvm/clang -cl-std=CL$OCL_VER -include $INC_DIR/opencl-c.h $BITCODE_OPTS -target amdgcn-amd-amdhsa -mcpu=$GFXIP $TEST_NAME.cl -o $DST_DIR/$OBJ_FILE
+ $BIN_DIR/clang -cl-std=CL$OCL_VER -include $INC_DIR/opencl-c.h $BITCODE_OPTS -target amdgcn-amd-amdhsa -mcpu=$GFXIP $TEST_NAME.cl -o $DST_DIR/$OBJ_FILE
77
echo "'$OBJ_FILE' generated"
78
done
79
0 commit comments