Giter VIP home page Giter VIP logo

rcuda's Issues

cu_computemode_exclusive no longer exists?

When building/installing RCUDA, I get the following error:

autoEnumConverters.c: In function ‘Renum_convert_CUcomputemode_enum’:
autoEnumConverters.c:1073:13: error: ‘CU_COMPUTEMODE_EXCLUSIVE’ undeclared (first use in this function)
        case CU_COMPUTEMODE_EXCLUSIVE:

There is evidence on the internet that CU_COMPUTEMODE_EXCLUSIVE used to be a member of the CUcomputemode_enum but now it seems there is only CU_COMPUTEMODE_EXCLUSIVE_PROCESS ?

Removing lines 1073-1075 of autoEnumConverters.c allowed for successful build/install on my box (Ubuntu 16.04, Cuda 8.0.61, R 3.4.0):

---       case CU_COMPUTEMODE_EXCLUSIVE:
---           elName = "CU_COMPUTEMODE_EXCLUSIVE";
---       break;

problems with cudaversion filename and path

I get an error on configure:

gcc: error: cudaVersion.c: No such file or directory

Because (1) the file seems now to be called cudaversion.c (all lowercase), and (2) at least on my Ubuntu linux, I need to specify the current directory when calling the resulting binary (./cudaVersion instead of cudaVersion)

This is fixed with changing the following two lines (lines 85 & 86) of configure.in

---$CC -o cudaVersion -I$CUDA_INC_DIR cudaVersion.c -L$CUDA_LIB_DIR -lcuda -lcudart $RPATH
---CUDA_VERSION=`cudaVersion`
+++$CC -o cudaVersion -I$CUDA_INC_DIR cudaversion.c -L$CUDA_LIB_DIR -lcuda -lcudart $RPATH
+++CUDA_VERSION=`./cudaVersion`

And then regenerating configure with autoconf

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.