Modify Makefile for aomp_hip_launch_test to run for aomp 12 or 13
@@ -59,7 +59,9 @@ CC=$(AOMP)/bin/clang
$(TESTNAME).exe: $(TESTNAME).$(FILETYPE)
$(CC) $(OMP_TARGET_FLAGS) test_omp.c -o test_omp.exe
test -f test_omp-host-x86_64-unknown-linux-gnu.o
- test -f a.out-openmp-amdgcn-amd-amdhsa
+ test -f a.out-openmp-amdgcn-amd-amdhsa && \
+ cp a.out-openmp-amdgcn-amd-amdhsa a.out-openmp-amdgcn-amd-amdhsa-${AOMP_GPU} || \
+ cp a.out-openmp-amdgcn-amd-amdhsa-${AOMP_GPU} a.out-openmp-amdgcn-amd-amdhsa
DEVICE_LIB_PATH=$(DEVICE_LIB_PATH) $(AOMPHIP)/bin/hipcc -o hiplaunch.exe hiplaunch.cpp -fopenmp
#/opt/rocm/bin/hipcc -o hiplaunch.exe hiplaunch.c -fopenmp # this needs code-obj-v3 fix , ROCm 3.0 ???
# /work/hip-clang-bld/HIP/bin/hipcc -o hiplaunch.exe hiplaunch.c -fopenmp # this needs code-obj-v3 fix , ROCm 3.0 ???
