Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CUDA 8.0 #3

Closed
diggerdu opened this issue Aug 31, 2016 · 3 comments
Closed

Support CUDA 8.0 #3

diggerdu opened this issue Aug 31, 2016 · 3 comments

Comments

@diggerdu
Copy link

No description provided.

@gangliao
Copy link
Contributor

We did not test PaddlePaddle on Cuda 8.0 now. But, PaddlePaddle works well on Cuda 6.5, 7.0, 7.5. If no big changes, it should work too. We can support this later.

@diggerdu
Copy link
Author

diggerdu commented Aug 31, 2016

There is problems when invoke
CMakeFiles/Makefile2:299: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/all' failed

@elvinpoon
Copy link

Here is the error code

/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_cuda_generated_hl_table_apply.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_table_apply.cu.o


paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:2365: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_table_apply.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_table_apply.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_cuda_generated_hl_cuda_sequence.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sequence.cu.o


paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:2140: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sequence.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sequence.cu.o] Error 1
/home/pcy/Paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function ‘void hl_vector_sum(paddle::real*, paddle::real*, int)’:
/home/pcy/Paddle/paddle/cuda/src/hl_cuda_aggregate.cu:268:21: error: comparison of constant ‘34’ with boolean expression is always false [-Werror=bool-compare]
   } while (isNotReady == cudaErrorNotReady);
                     ^
/home/pcy/Paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function ‘void hl_vector_abs_sum(paddle::real*, paddle::real*, int)’:
/home/pcy/Paddle/paddle/cuda/src/hl_cuda_aggregate.cu:324:21: error: comparison of constant ‘34’ with boolean expression is always false [-Werror=bool-compare]
   } while (isNotReady == cudaErrorNotReady);
                     ^
cc1plus: all warnings being treated as errors
CMake Error at paddle_cuda_generated_hl_cuda_aggregate.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_aggregate.cu.o


paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:523: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o] Error 1
/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_gserver_generated_LstmCompute.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_LstmCompute.cu.o


paddle/gserver/CMakeFiles/paddle_gserver.dir/build.make:602: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_LstmCompute.cu.o' failed
make[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_LstmCompute.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 65%] Linking CXX static library libpaddle_api.a
/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_gserver_generated_GruCompute.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_GruCompute.cu.o


paddle/gserver/CMakeFiles/paddle_gserver.dir/build.make:329: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_GruCompute.cu.o' failed
make[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_GruCompute.cu.o] Error 1
CMakeFiles/Makefile2:1186: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/all' failed
make[1]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 65%] Built target paddle_api
/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_cuda_generated_hl_cuda_sparse.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sparse.cu.o


paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:1009: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sparse.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sparse.cu.o] Error 1
/home/pcy/Paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: ‘double hppl::atomicAdd(double*, double)’ conflicts with a previous declaration
 using hppl::atomicAdd;
             ^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration ‘double atomicAdd(double*, double)’
 __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
                                              ^
CMake Error at paddle_cuda_generated_hl_cuda_lstm.cu.o.cmake:262 (message):
  Error generating file
  /home/pcy/Paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_lstm.cu.o


paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:1464: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_lstm.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_lstm.cu.o] Error 1
CMakeFiles/Makefile2:299: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/all' failed

@reyoung reyoung changed the title 支持cuda 8.0rc吗? Support CUDA 8.0 Sep 2, 2016
gangliao added a commit that referenced this issue Sep 29, 2016
Remove main function in some unittest.
qingqing01 referenced this issue in qingqing01/Paddle Aug 9, 2017
qingqing01 added a commit that referenced this issue Oct 23, 2017
typhoonzero added a commit that referenced this issue Feb 2, 2018
zhoutianzi666 referenced this issue in zhoutianzi666/Paddle May 23, 2022
Add paddle-trt doc and refine c++ doc
zhoutianzi666 referenced this issue in zhoutianzi666/Paddle May 23, 2022
danleifeng pushed a commit to danleifeng/Paddle that referenced this issue May 29, 2022
WorgenZhang referenced this issue in WorgenZhang/Paddle Jul 15, 2022
Aganlengzi pushed a commit to Aganlengzi/Paddle that referenced this issue Aug 30, 2022
…Var_bugfix

Layernorm trt mean var bugfix
jack603047588 referenced this issue in jack603047588/Paddle Nov 9, 2022
add fused_seqpool_cvm_op
jack603047588 referenced this issue in jack603047588/Paddle Nov 9, 2022
1. fix nncross expand_embedx size bug
qizhaoaoe pushed a commit to qizhaoaoe/Paddle that referenced this issue Mar 3, 2023
tsocha pushed a commit to tsocha/Paddle that referenced this issue Mar 16, 2023
yuanlehome referenced this issue in yuanlehome/Paddle May 17, 2023
tianyan01 pushed a commit to tianyan01/Paddle that referenced this issue Nov 23, 2023
mv number_count and fused_moe op to phi, fix some fused_moe bug
NKNaN pushed a commit to NKNaN/Paddle that referenced this issue Mar 3, 2024
Add command line for 'luarocks install' installation to README.
Fridge003 pushed a commit to Fridge003/Paddle that referenced this issue Mar 20, 2024
YZW-explorer pushed a commit to YZW-explorer/Paddle that referenced this issue Jun 13, 2024
kircle888 added a commit to kircle888/Paddle that referenced this issue Jul 7, 2024
ckl117 pushed a commit to ckl117/Paddle that referenced this issue Jul 18, 2024
trt clip support int32 input and add index_put in op_teller
lizexu123 referenced this issue in lizexu123/Paddle Jul 23, 2024
Layssy pushed a commit to Layssy/Paddle that referenced this issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants