Code Monkey home page Code Monkey logo

cudamat's People

Contributors

ebattenberg avatar f0k avatar nitishsrivastava avatar pallegro avatar scttl avatar untom avatar vladmnih avatar wiebke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cudamat's Issues

problem while installing cudamat

Hello,
I was trying to install cudamat library on my Windows 10 system and ran into some error.

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin\nvcc.exe -O3 -IC:\Users\Anjali\Anaconda3\include -IC:\Users\Anjali\Anaconda3\include -c cudamat/cudamat.cu -o build\temp.win-amd64-3.7\Release\cudamat/cudamat.obj --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin" -IC:\Users\Anjali\Anaconda3\include -IC:\Users\Anjali\Anaconda3\include
An exception has occurred, use %tb to see the full traceback.

SystemExit: error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin\nvcc.exe' failed with exit status 1

C:\Users\Anjali\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3334: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

After running %tb

Traceback (most recent call last):

File "", line 1, in
runfile('F:/BCI/GenzelLab/mouseSleepAnalysis-master/cudamat-simplify-compile/cudamat-simplify-compile/setup.py', args='install', wdir='F:/BCI/GenzelLab/mouseSleepAnalysis-master/cudamat-simplify-compile/cudamat-simplify-compile')

File "C:\Users\Anjali\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)

File "C:\Users\Anjali\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "F:/BCI/GenzelLab/mouseSleepAnalysis-master/cudamat-simplify-compile/cudamat-simplify-compile/setup.py", line 100, in
url="https://github.com/cudamat/cudamat",

File "C:\Users\Anjali\Anaconda3\lib\site-packages\setuptools_init_.py", line 145, in setup
return distutils.core.setup(**attrs)

File "C:\Users\Anjali\Anaconda3\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))

SystemExit: error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin\nvcc.exe' failed with exit status 1

Can you please help me resolve this issue?

problem with CUDAMatrix.init_random()

I succesfully installed cudamat, but when I try to run CUDAMatrix.init_random(), the process crashes without an error. I compiled with VS 12, amd64. The CUDA toolkit is 7.0 with a Tesla K40c. To no effect, I tried reversing the commenting on lines 83-88 in cudamat.cu:

cublasAlloc(NUM_RND_STREAMS, sizeof(unsigned int), (void**)&rnd_state->dev_mults);
cublasAlloc(NUM_RND_STREAMS, sizeof(unsigned long long), (void**)&rnd_state->dev_words);
cublasSetVector(NUM_RND_STREAMS, sizeof(unsigned int), host_mults, 1, rnd_state->dev_mults, 1);
//cudaMalloc((void **)&rnd_state->dev_mults, NUM_RND_STREAMS * sizeof(unsigned int));
//cudaMalloc((void **)&rnd_state->dev_words, NUM_RND_STREAMS * sizeof(unsigned long long));
//cudaMemcpy(rnd_state->dev_mults, host_mults, NUM_RND_STREAMS * sizeof(unsigned int), cudaMemcpyHostToDevice);

Attached is the XML file that Windows generated, if it is of any help.

6.1 7601 Service Pack 1 (0x30): Windows 7 Professional Professional 7601.18798.amd64fre.win7sp1_gdr.150316-1654 1130 Multiprocessor Free X64 1033 5436 C:\Anaconda\pythonw.exe "C:\Anaconda\pythonw.exe" "C:\Anaconda\Scripts/spyder-script.py" BEX64 python.exe 0.0.0.0 54935bff libcudamat.dll 0.0.0.0 553e7ee9 000000000001a729 c0000417 0000000000000000 Hewlett-Packard HP Z820 Workstation

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.