You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2020/07/02 16:46:03 UTC

[GitHub] [singa] chrishkchris opened a new pull request #759: Update CXX compiler to 7.5.0 in Conda version of SINGA

chrishkchris opened a new pull request #759:
URL: https://github.com/apache/singa/pull/759


   For conda version of SINGA:
   
   This is to fix the issue in https://github.com/apache/singa/pull/758
   
   It requires to use explicit type in cuda kernal, which cannot use "auto" instead
   
   Upgrade the CXX compiler to 7.5.0 can solve the problem (note that the docker version of singa currently using 7.5.0 also)
   
   ```
   [ 14%] Building NVCC (Device) object src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   /root/miniconda/conda-bld/singa_1593705642277/work/src/core/tensor/math_kernel.cu(143): error: explicit type is missing ("int" assu                                                               med)
   
   1 error detected in the compilation of "/tmp/tmpxft_00000574_00000000-6_math_kernel.cpp1.ii".
   CMake Error at cuda_compile_1_generated_math_kernel.cu.o.cmake:280 (message):
     Error generating file
     /root/miniconda/conda-bld/singa_1593705642277/work/build/src/CMakeFiles/cuda_compile_1.dir/core/tensor/./cuda_compile_1_generated                                                               _math_kernel.cu.o
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [singa] chrishkchris edited a comment on pull request #759: Update CXX compiler to 7.5.0 in Conda version of SINGA to fix compile error

Posted by GitBox <gi...@apache.org>.
chrishkchris edited a comment on pull request #759:
URL: https://github.com/apache/singa/pull/759#issuecomment-655233856


   i see, then can close this PR, shicong PR has already changed to specific type


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [singa] chrishkchris closed pull request #759: Update CXX compiler to 7.5.0 in Conda version of SINGA to fix compile error

Posted by GitBox <gi...@apache.org>.
chrishkchris closed pull request #759:
URL: https://github.com/apache/singa/pull/759


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [singa] chrishkchris commented on pull request #759: Update CXX compiler to 7.5.0 in Conda version of SINGA to fix compile error

Posted by GitBox <gi...@apache.org>.
chrishkchris commented on pull request #759:
URL: https://github.com/apache/singa/pull/759#issuecomment-655233856


   i see, then can close this PR, shicong PR has already changed to spefcific type


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [singa] nudles commented on pull request #759: Update CXX compiler to 7.5.0 in Conda version of SINGA to fix compile error

Posted by GitBox <gi...@apache.org>.
nudles commented on pull request #759:
URL: https://github.com/apache/singa/pull/759#issuecomment-655233348


   can we change the 'auto' to the specific type to fix this issue?
   if we upgrade the gcc, we the compiled .so file may require higher versions of libstc++, which may not be available in some systems.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org