Set CUDA_ACHITECUTRE to native when undefined for NeoML/Python#684
Set CUDA_ACHITECUTRE to native when undefined for NeoML/Python#684zimka wants to merge 1 commit intoneoml-lib:masterfrom
Conversation
Signed-off-by: Boris Zimka <boris.zimka@abbyy.com>
|
Wow. That's the first time I see this problem not as a Give me please info about you OS/CUDA ver/exact cmake ver/build command. |
|
Sure, please check the following info:
|
Whenever I try to build NeoML/Python with
python setup.py install, I get the following error:As far as I understand, this is because I do not specify CMAKE_CUDA_ARCHITECTURES variable.
This PR sets it to native when variable is empty.
Somehow works for my CMake 3.18.