HIP-Examples icon indicating copy to clipboard operation
HIP-Examples copied to clipboard

Rodinia backprop and b+tree build failures

Open baryluk opened this issue 5 years ago • 0 comments

ROCm 3.10.0

AMD Radeon R9 Fury X (FIJI, GFX8)

Linux 5.9.9., using upstream amdgpu driver

user@debian:~/HIP-Examples/rodinia_3.0/hip$ HIP_PATH=/opt/rocm-3.10.0/hip make VERBOSE=1
--TESTING: backprop
make[1]: Entering directory '/home/user/HIP-Examples/rodinia_3.0/hip/backprop'
O2 backprop.c -c
make[1]: O2: No such file or directory
make[1]: [Makefile:20: backprop.o] Error 127 (ignored)
O2 facetrain.c -c
make[1]: O2: No such file or directory
make[1]: [Makefile:17: facetrain.o] Error 127 (ignored)
O2 imagenet.c -c
make[1]: O2: No such file or directory
make[1]: [Makefile:26: imagenet.o] Error 127 (ignored)
/opt/rocm-3.10.0/hip/bin/hipcc -I../../common -O2 -c backprop_cuda.cu
backprop_cuda.cu:115:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./backprop" );
                                                                       ^
1 warning generated when compiling for gfx803.
backprop_cuda.cu:115:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./backprop" );
                                                                       ^
1 warning generated when compiling for host.
/opt/rocm-3.10.0/hip/bin/hipcc backprop.o facetrain.o imagenet.o backprop_cuda.o -o backprop -lm
clang-12: error: no such file or directory: 'backprop.o'
clang-12: error: no such file or directory: 'facetrain.o'
clang-12: error: no such file or directory: 'imagenet.o'
make[1]: *** [Makefile:11: backprop] Error 1
make[1]: Leaving directory '/home/user/HIP-Examples/rodinia_3.0/hip/backprop'
BUILD FAILURE!!
...
...
--TESTING: b+tree
make[1]: Entering directory '/home/user/HIP-Examples/rodinia_3.0/hip/b+tree'
/opt/rocm-3.10.0/hip/bin/hipcc  -I../../common -O2	 ./main.cu \
		-c \
		-o ./main.o
/opt/rocm-3.10.0/hip/bin/hipcc -I../../common -O2  ./kernel/kernel_gpu_cuda_wrapper.cu \
			-c \
			-o ./kernel/kernel_gpu_cuda_wrapper.o \
			-arch sm_20
clang-12: warning: argument unused during compilation: '-arch sm_20' [-Wunused-command-line-argument]
./kernel/kernel_gpu_cuda_wrapper.cu:115:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./b+tree_1" );
                                                                       ^
1 warning generated when compiling for gfx803.
./kernel/kernel_gpu_cuda_wrapper.cu:115:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./b+tree_1" );
                                                                       ^
1 warning generated when compiling for host.
/opt/rocm-3.10.0/hip/bin/hipcc -I../../common -O2  ./kernel/kernel_gpu_cuda_wrapper_2.cu \
			-c \
			-o ./kernel/kernel_gpu_cuda_wrapper_2.o \
			-arch sm_20
clang-12: warning: argument unused during compilation: '-arch sm_20' [-Wunused-command-line-argument]
./kernel/kernel_gpu_cuda_wrapper_2.cu:114:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./b+tree_2");
                                                                       ^
1 warning generated when compiling for gfx803.
./kernel/kernel_gpu_cuda_wrapper_2.cu:114:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        SimplePerfSerializer* serializeTime = new SimplePerfSerializer("./b+tree_2");
                                                                       ^
1 warning generated when compiling for host.
gcc	./util/timer/timer.c \
		-c \
		-o ./util/timer/timer.o
./util/timer/timer.c: In function ‘get_time’:
./util/timer/timer.c:26:2: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
   26 |  gettimeofday(&tv, NULL);
      |  ^~~~~~~~~~~~
gcc	./util/num/num.c \
		-c \
		-o ./util/num/num.o
/opt/rocm-3.10.0/hip/bin/hipcc -I../../common -O2	./util/cuda/cuda.cu \
			-c \
			-o ./util/cuda/cuda.o \
			-arch sm_20
clang-12: warning: argument unused during compilation: '-arch sm_20' [-Wunused-command-line-argument]
/opt/rocm-3.10.0/hip/bin/hipcc	./main.o \
		./kernel/kernel_gpu_cuda_wrapper.o \
		./kernel/kernel_gpu_cuda_wrapper_2.o \
		./util/timer/timer.o \
		./util/num/num.o \
		./util/cuda/cuda.o \
		-lm \
                       -o b+tree
executing: ../../test/b+tree/run0.cmd...    Opened file ./b+tree.perf for performance log
Opened file ./b+tree_2.perf for performance log
Closed performance log 2
Opened file ./b+tree_1.perf for performance log
Closed performance log 2
Closed performance log 2
  FAILED!
...


All the other ones do build. (But `hybridsort` does hang my GPU, gfx ring timeout, and causes GPU to be reset, and Xorg to be killed too in the process).

baryluk avatar Dec 04 '20 01:12 baryluk