Giter Club home page Giter Club logo

Comments (3)

gangliao avatar gangliao commented on May 3, 2024

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.

from paddle.

diggerdu avatar diggerdu commented on May 3, 2024

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

from paddle.

elvinpoon avatar elvinpoon commented on May 3, 2024

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

from paddle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.