duncantl / rcuda Goto Github PK
View Code? Open in Web Editor NEWR interface to CUDA libraries
License: Other
R interface to CUDA libraries
License: Other
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;
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.