CMakeLists vs Makefile
Why do you have both a CMakeLists.txt and a Makefile? Which one is the preferred one?
Considering that the Makefile is being overriden by cmake, can it be removed to avoid ambiguity?
Hi and thanks for the report!
We maintain the CMakeLists.txt version. The old Makefile script is just lingering around from the long-term unmaintained repo that we forked from: https://sourceforge.net/p/cudagpumemtest
We should remove it accordingly, but it probably contains some hints in case someone actually wants to use the OpenCL version (instead of the CUDA tests that we focus on).
I personally also added a Spack package that builds from CMake, as recommended.
Considering that the Makefile is being overriden by cmake, can it be removed to avoid ambiguity?
Don't build CMake projects in-source, please. Create a temporary build directory and execute cmake <pathToSource> in it.
@ax3l Makes sense.
Could you add build instructions to the README? I assumed the cmake variant is the new one, but the readme clearly stated that the Makefile is the current version which was quite confusing.
Yes, good idea. We initially thought our changes might be accepted upstream again and tried to change as little as possible.
I think a decade later we can assume nothing will happen upstream anymore and so let's change more boldly along the repo lines ;)