The OpenDwarfs project provides a benchmark suite consisting of different computation/communication idioms, i.e., dwarfs, for state-of-art multicore and GPU systems. The first instantiation of the OpenDwarfs has been realized in OpenCL.
I downloaded OpenDwarfs and tried to compile on Mac OS X following the README instructions, then I got the error:
../include/common_args.c:231:1: error: control reaches end of non-void function
[-Werror,-Wreturn-type]
To correct this error, just add a return 0; to the line 231 of the file common_args.c and it will compile, but you need either to correct the function signature and change int to void, or supply the correct returns inside the function.
Hello,
I downloaded OpenDwarfs and tried to compile on Mac OS X following the README instructions, then I got the error:
../include/common_args.c:231:1: error: control reaches end of non-void function [-Werror,-Wreturn-type]
To correct this error, just add a return 0; to the line 231 of the file common_args.c and it will compile, but you need either to correct the function signature and change int to void, or supply the correct returns inside the function.