CUDA Toolkit

Message boards : GPUs : CUDA Toolkit
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Yavanius
Avatar

Send message
Joined: 19 May 15
Posts: 123
Antarctica
Message 85007 - Posted: 6 Mar 2018, 3:45:45 UTC

There are instructions for Linux nVidia CUDA support at Ubuntu, although outdated, linked from install info on the BOINC Wiki.

I've seen notes about installing the Toolkit on other sites in regards to CUDA.

I came across official CUDA installation page at nVidia.
http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html

Do we actually need the TOOL KIT or only the drivers for CUDA? It seems you would only need the Tool Kit if you wanted to develop something with CUDA... however, I know sometime something is needed in a tool kit to run (in general).

Irregardless, I have a 1 gb download before I can install anything. That's an offline install. I don't know if an online install (which I didn't see till after I was already downloading) with just drivers would be smaller, although I would think so.

TIA ~Yav
ID: 85007 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5084
United Kingdom
Message 85008 - Posted: 6 Mar 2018, 10:04:42 UTC

To run NVidia applications, you need two things:

1) A suitable hardware driver for your GPU. It's the user's responsibility to obtain and install this.
2) The runtime support files for the programming language used by the application programmer. It's usually the programmer's (or in our case, the BOINC project's) responsibility to supply these.

CUDA is NVidia's proprietary programming language, and the toolkit contains vastly more than is needed simply to run compiled programs. Programmers need it, ordinary users don't.

The toolkit does, however, contain everything necessary for a programmer to get started. So, there's a driver in there, and all the necessary library files. Downloading the toolkit is a way of getting hold of any missing components that the programmer has failed to pass on to you.

I don't know the file names in the Linux context, but for Windows the ones you are most likely to need are:

cudartxx_yy.dll
cufftxx_yy.dll

where xx is the bitness (32 or 64), and yy is the version number. You need the version which exactly matches what your programmer developed for.
ID: 85008 · Report as offensive
Profile Yavanius
Avatar

Send message
Joined: 19 May 15
Posts: 123
Antarctica
Message 85024 - Posted: 6 Mar 2018, 21:48:13 UTC - in response to Message 85008.  

That's what I figured, but the page linked from BOINC was for installing the full Tool Kit Package. GPU computing on BOINC needs a good clean-up and round-up. :) It appears it may be a lot more straight-forward than it use to be.

I was trying to test it last night but SETI was only serving me OpenGL work so I couldn't tell if CUDA was properly installed and detected. I just tried testing with Asteroids and it gave me a CUDA WU and looks it's running it okay.

Yav
ID: 85024 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15493
Netherlands
Message 85094 - Posted: 10 Mar 2018, 9:15:33 UTC - in response to Message 85024.  

...but SETI was only serving me OpenGL work
Correction, that's OpenCL.

OpenGL, or Open Graphics Library, is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. It's a DirectX competitor.
OpenCL, or Open Computing Language, is a framework for writing programs that execute across heterogeneous platforms consisting of central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), field-programmable gate arrays (FPGAs) and other processors or hardware accelerators. It's a DirectCompute competitor.

While both run on the same hardware, they don't do the same things.
ID: 85094 · Report as offensive
Profile Yavanius
Avatar

Send message
Joined: 19 May 15
Posts: 123
Antarctica
Message 85105 - Posted: 10 Mar 2018, 20:12:18 UTC - in response to Message 85094.  

Oops. I didn't see the CL. I just glanced at it and mind went GL.


It appears the CUDA unit for Asteroids completed successfully, so that verified things and answered my own question too.

I just wished I noticed the online option before I started downloading the toolkit... O.o

Do any distros ship using actual nVidia drivers and full support loaded?
ID: 85105 · Report as offensive

Message boards : GPUs : CUDA Toolkit

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.