Change aomp_hip_launch_test to cpp
# SOFTWARE.
TESTNAME =hiplaunch
-FILETYPE =c
+FILETYPE =cpp
UNAMEP = $(shell uname -p)
AOMP_CPUTARGET = $(UNAMEP)-pc-linux-gnu
@@ -84,7 +84,7 @@ $(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-$(AOMP_GPU)
- $(AOMP)/bin/hipcc -o hiplaunch.exe hiplaunch.c -fopenmp
+ $(AOMP)/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 ???
