https://github.com/vlfeat/matconvnet/issues/575
나도 아래의 Ben의 방법대로 고쳤더니 pooling_gpu.cu (line 163), bilinearsampler_gpu.cu (line 25)를 수정했더니 고쳐짐
'Deep Learning > setup_related' 카테고리의 다른 글
Windows 10 64bit Theano & Keras 설치방법 (0) | 2016.10.05 |
---|---|
Windows가 설치된 상태에서 리눅스를 설치하자! (멀티부팅) (0) | 2016.10.05 |
우분투 Ubuntu 14.04.1 설치 (0) | 2016.10.05 |
Ubuntu우분투 14.04 설치 (0) | 2016.10.05 |
[matconvnet] Error in executing ResNet 50 (0) | 2016.09.07 |
Hi,
I downloaded the last version of MatConvNet (ver1.0-beta20) and tried compiling with GPU support.
I have a GTX1080 card which requires CUDA 8.0 (otherwise there's an error: "nvcc fatal : Unsupported gpu architecture 'compute_61' ")
Anyways, when I try to compile with CUDA 8.0, it seems to work for the most part but then I get the following:
I googled for the error bolded and came across this link which I think may have something to with what's going on:
[http://stackoverflow.com/questions/37566987/cuda-atomicadd-for-doubles-definition-error]
I don't know if it's a proper fix or not, but I ended up doing the following:
This made the compiling work and I ran vl_testnn without any problems after compiling. Posting this here in case anyone else has the same problem and also if anyone has any further insights as to what caused the problem and what issues may arise from me commenting out the lines above.
Thanks!
-Justin
------------------------------------------------------------------------------------
missilzolair commentedon Jun 12
Hi,
I just encounter the same issue, except that I am using a gtx970, with compute capability 5.2. Apparently, it's related to the fact that with Pascal (compute capability 6.0) a native double version of atomicAdd has been added.
In my case, if I simply comment the overloaded definition of atomicAdd, I will still get an error. The right solution (http://stackoverflow.com/questions/37566987/cuda-atomicadd-for-doubles-definition-error/37569519) is to use the following macro:
I added the aforementioned macro at the two locations that Justin mentioned and the code compiles just fine with CUDA 8.0 on gpu architecture < 6.0.
Cheers,
Ben
------------------------------------------------------------------------------------
jlee614 commentedon Jun 13
Ben,
Thanks for your help! I came across that same link (sorry, I had my syntax wrong and it didn't post properly the first time), and your suggestion is the correct one.
Thanks again!
Justin
------------------------------------------------------------------------------------
lenck commentedon Jun 14
Thanks @jlee614 for the report and @missilzolair for suggesting the bugfix!
It's now pushed to the master...