19
$\begingroup$

I understand why functions like ElementData or CountryData need to download up-to-date data when first launched. However, when trying to use CUDA for the first time in Mathematica, I ran:

Needs["CUDALink`"]; CUDAQ[]

which downloaded data for several minutes. Given that I have a quite fast net connection, that must amount to a really large amount of data. What does Mathematica download in that case? I guess drivers, but how can I check what it downloads?

$\endgroup$
3
  • 8
    $\begingroup$ Oh, and it took almost 10 minutes to say: False. Now I'm pissed off! $\endgroup$
    – F'x
    Commented Mar 25, 2012 at 11:39
  • 1
    $\begingroup$ There are a few reasons why it would give False, if you evaluate CUDAInformation[] it might give you some hints and it will forward you to the CUDA setup page (reference.wolfram.com/mathematica/CUDALink/tutorial/Setup.html) $\endgroup$
    – adk
    Commented Mar 25, 2012 at 16:54
  • $\begingroup$ mine has just now took 15 minutes and still running... $\endgroup$ Commented Apr 23, 2015 at 16:46

1 Answer 1

14
$\begingroup$

It installs CUDA Resources, as indicated in the manual page. The resources are platform and driver specific and can also be downloaded manually from here.

$\endgroup$
3
  • $\begingroup$ Thanks for the links; I had found the first one, not the second. I guess the crux of the question is still unanswered: CUDA functions can download “CUDA resources”, yes, but of what consist said resources? $\endgroup$
    – F'x
    Commented Mar 25, 2012 at 15:36
  • 8
    $\begingroup$ the resources consist of the CUDA Toolkit (found on developer.nvidia.com/cuda-toolkit-41) plus some extra resources that avoid users hunting for different packages to install. The point of the paclet is to make GPU usage simple, with the only requirement being that the user has appropriate hardware and the nvidia driver. Hope this helps. $\endgroup$
    – adk
    Commented Mar 25, 2012 at 16:53
  • $\begingroup$ If you think about it, the way they do this is smart. This probably allows wolfram to add support for new hardware without a versioned update. Not sure if they do so of course. $\endgroup$
    – nixeagle
    Commented Mar 25, 2012 at 21:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.