Skip to content

cu2cl runs with error on ubuntu 16.04 and cuda 10.2 #4

@gajendraks

Description

@gajendraks

Hi
We are using ubuntu 16.04 and cuda 10.2 with GeForce GTX 730.
We are trying to run your tool.

~/team5/cuda_samp/matrixadd$ cu2cl-tool matrixadd.cu -- -DGPU_ON -I /usr/local/cuda-10.2/targets/x86_64-linux/include -I . -I /usr/lib/gcc/x86_64-linux-gnu/5/include -I /usr/local/include -I /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I /usr/include/x86_64-linux-gnu -I /usr/include/linux &> output.txt

As our limits.h was in /usr/include/linux we included that path.
The below output file has the error generated by the tool.
output.txt

Here is the matrixadd.cu we used.
matrix_add.txt (as github didn’t allow to upload .cu file)

NVCC - VERSION
$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

Could you help us in debugging this.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    modern CUDAIssue likely related to old CUDA assumptionsmodern ClangIssue likely related to old Clang dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions