Skip to content

cuda compiler error #20

@holgafreak

Description

@holgafreak

I'm using ubuntu 16.04 using gcc 5.4 using the hack to comment the #error in host_config.h of cuda 7.5

when building paddle, this compiler error is thrown:
[ 14%] Building NVCC (Device) object paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o
/home/xxxx/devel/paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function ‘void hl_vector_sum(paddle::real_, paddle::real_, int)’:
/home/xxxx/devel/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);

and other similar errors in the same file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions